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
noahingh merged 7 commits into
mainfrom
cli-repos
Feb 2, 2022
Merged

Add repo command to access Repo entities#322
noahingh merged 7 commits into
mainfrom
cli-repos

Conversation

@noahingh

@noahinghnoahingh commented Feb 2, 2022

Copy link
Copy Markdown
Member

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)

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

Copy link
Copy Markdown
MemberAuthor

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 mainFeb 2, 2022
@noahingh
noahingh deleted the cli-repos branch February 2, 2022 07:44
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

component: cliThis issue or pull request is related to the features of CLIenhancementNew 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

@noahingh