Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Add repo command to access Repo entities #322

Merged
merged 7 commits into from
Feb 2, 2022
Merged

Add repo command to access Repo entities #322

merged 7 commits into from
Feb 2, 2022

Conversation

noahingh
Copy link
Member

@noahingh noahingh commented Feb 2, 2022

List

gitploy repo ls
NAME:
   gitploy repo list - Show own repositories.

USAGE:
   gitploy repo list [command options] [arguments...]

OPTIONS:
   --all             Show all repositories. (default: false)
   --page value      The page of list. (default: 1)
   --per-page value  The item count per page. (default: 30)
   --help, -h        show help (default: false)

Get

gitploy repo get
NAME:
   gitploy repo get - Show the repository.

USAGE:
   gitploy repo get [command options] <owner>/<repo>

OPTIONS:
   --help, -h  show help (default: false)

Update

gitploy repo update
NAME:
   gitploy repo update - Update the repository.

USAGE:
   gitploy repo update [command options] <owner>/<repo>

OPTIONS:
   --config value, -C value  The path of the configuration file.
   --active value, -A value  Activate or deactivate the repository. Ex 'true', 'false'
   --help, -h                show help (default: false)

@noahingh noahingh added enhancement New feature or request component: cli This issue or pull request is related to the features of CLI labels Feb 2, 2022
@noahingh noahingh added this to the v0.6 milestone Feb 2, 2022
@noahingh noahingh linked an issue Feb 2, 2022 that may be closed by this pull request
Comment on lines +29 to +32
&cli.StringFlag{
Name: "query",
Usage: "A GJSON query to use in filtering the response data",
},
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the --query option to filtering the JSON response

@noahingh noahingh marked this pull request as ready for review February 2, 2022 07:39
@noahingh noahingh merged commit 6dcd6ae into main Feb 2, 2022
@noahingh noahingh deleted the cli-repos branch February 2, 2022 07:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: cli This issue or pull request is related to the features of CLI enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add repo subcommand to interact with Repo entities
1 participant