Skip to content

Commit

Permalink
fix: updated cli descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
snpranav committed Aug 7, 2023
1 parent a7ff15f commit c17a7d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
9 changes: 2 additions & 7 deletions cmd/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@ import (
// loginCmd represents the login command
var loginCmd = &cobra.Command{
Use: "login",
Short: "A brief description of your command",
Long: `A longer description that spans multiple lines and likely contains examples
and usage of using your command. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Short: "Connect CLI to Pangea Vault",
Long: `Login to CLI and connect it to Pangae's Vault.`,
Run: func(cmd *cobra.Command, args []string) {
noBrowser, _ := cmd.Flags().GetBool("no-browser")
loginPrompts(noBrowser)
Expand Down
12 changes: 5 additions & 7 deletions cmd/migrate.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,11 @@ import (
// migrateCmd represents the migrate command
var migrateCmd = &cobra.Command{
Use: "migrate",
Short: "A brief description of your command",
Long: `A longer description that spans multiple lines and likely contains examples
and usage of using your command. For example:
Cobra is a CLI library for Go that empowers applications.
This application is a tool to generate the needed files
to quickly create a Cobra application.`,
Short: "Migrate local .env file to Pangea Vault",
Long: `Migrate your local .env file to Pangea's secure vault.
Simply run "pangea run -f <path_to_env_file>"
Note: You must select or create a project before running migrate.`,
Run: func(cmd *cobra.Command, args []string) {

var folderName string
Expand Down

0 comments on commit c17a7d2

Please sign in to comment.