Skip to content

Commit

Permalink
private: use -d for directories (#987)
Browse files Browse the repository at this point in the history
  • Loading branch information
matslina authored Dec 5, 2023
1 parent f0e3b30 commit 37e1bdb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/private/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type TidbytCreateAppReply struct {
func init() {
CreateCmd.Flags().StringVarP(&createOrg, "org", "o", "", "organization to create the app in")
CreateCmd.Flags().StringVarP(&createURL, "url", "u", "https://api.tidbyt.com", "base URL of Tidbyt API")
CreateCmd.Flags().StringVarP(&createDir, "app-dir", "a", ".", "directory to create the app in")
CreateCmd.Flags().StringVarP(&createDir, "app-dir", "d", ".", "directory to create the app in")
}

// CreateCmd prompts the user for info and generates a new app.
Expand Down
2 changes: 1 addition & 1 deletion cmd/private/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type TidbytBundleUpload struct {
}

func init() {
UploadCmd.Flags().StringVarP(&uploadDir, "app-dir", "a", ".", "app directory to upload")
UploadCmd.Flags().StringVarP(&uploadDir, "app-dir", "d", ".", "app directory to upload")
UploadCmd.Flags().StringVarP(&uploadVersion, "version", "v", defaultVersion, "version of the app")
UploadCmd.Flags().StringVarP(&uploadURL, "url", "u", "https://api.tidbyt.com", "base URL of Tidbyt API")
UploadCmd.Flags().BoolVarP(&uploadSkipDeploy, "skip-deploy", "s", false, "skip deploying the bundle after uploading")
Expand Down

0 comments on commit 37e1bdb

Please sign in to comment.