Modules§
Structs§
- Builder for
CacheCliArgs
. - ConfigFilePath is in charge of computing the default config file name and its parent directory based on global CLI arguments.
- Builder for
GetRemoteCliArgs
. - List body args is a common structure that can be used across multiple APIs that support pagination.
list
operations in traits that accept some sort of List related arguments can encapsulate this structure. Example of those isMergeRequestListBodyArgs
. This can be consumed by Github and Gitlab clients when executing HTTP requests. - Builder for
ListBodyArgs
. - List cli args can be used across multiple APIs that support pagination.
- Builder for
ListRemoteCliArgs
.
Enums§
- Error type for CacheCliArgsBuilder
- Given a CLI command, the command can work as long as user is in a cd repository, user passes –domain flag (DomainArgs) or –repo flag (RepoArgs). Some CLI commands might work with one variant, with both, with all or might have no requirement at all.
- Error type for GetRemoteCliArgsBuilder
- Error type for ListBodyArgsBuilder
- Error type for ListRemoteCliArgsBuilder
Functions§
- Reads configuration from TOML file. The config_file is the main default config file and it holds global configuration. Additionally, this function will attempt to gather configurations named after the domain and the project we are targetting. This is so the main config does not become unnecessarily large when providing merge request configuration for a specific project. The total configuration is as if we concatenated them all into one, so headers cannot be named the same across different configuration files. The configuration for a specific domain or project can go to either config file but cannot be mixed. Ex.