From 63335238e893423fe1f4bdaff4e618ad6daac8d5 Mon Sep 17 00:00:00 2001 From: Katy Bowman Date: Thu, 5 Dec 2024 15:18:54 -0500 Subject: [PATCH 1/2] chore: update description of confirm flag in models:create --- README.md | 16 ++++++++-------- src/commands/ai/models/create.ts | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b777dca..781066d 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ ARGUMENTS FLAGS -r, --remote= git remote of target app to use -s, --source-app= (required) source app for model resource - -t, --target-app= (required) target app for model resource + -t, --target-app= (required) [default: k80-ai-test-2] target app for model resource --as= alias name for model resource --confirm= overwrite existing attached resource with same name @@ -112,8 +112,8 @@ ARGUMENTS MODEL_RESOURCE Resource ID or alias of the model to call. The --app flag must be included if an alias is used. FLAGS - -a, --app= Name or ID of the app. This flag is required if an alias is used for the MODEL_RESOURCE - argument. + -a, --app= [default: k80-ai-test-2] Name or ID of the app. This flag is required if an alias is used for + the MODEL_RESOURCE argument. -j, --json output response as JSON -o, --output= the file path where the command writes the model response -p, --prompt= (required) the input prompt for the model @@ -144,10 +144,10 @@ ARGUMENTS MODEL_NAME name of the model to provision access for FLAGS - -a, --app= (required) name of the Heroku app to attach the model to + -a, --app= (required) [default: k80-ai-test-2] name of the Heroku app to attach the model to -r, --remote= git remote of app to use --as= alias name for model resource - --confirm= overwrite existing config vars or existing add-on attachments + --confirm= overwrite existing config vars or existing add-on aliases DESCRIPTION provision access to an AI model @@ -173,7 +173,7 @@ ARGUMENTS MODEL_RESOURCE resource ID or alias of the model resource to destroy FLAGS - -a, --app= (required) app to run command against + -a, --app= (required) [default: k80-ai-test-2] app to run command against -c, --confirm= -f, --force allow destruction even if connected to other apps -r, --remote= git remote of app to use @@ -199,7 +199,7 @@ ARGUMENTS MODEL_RESOURCE resource ID or alias of the model resource to detach FLAGS - -a, --app= (required) name of the Heroku app to detach the model resource from + -a, --app= (required) [default: k80-ai-test-2] name of the Heroku app to detach the model resource from -r, --remote= git remote of app to use DESCRIPTION @@ -223,7 +223,7 @@ ARGUMENTS MODEL_RESOURCE resource ID or alias of the model resource to check FLAGS - -a, --app= (required) app to run command against + -a, --app= (required) [default: k80-ai-test-2] app to run command against -r, --remote= git remote of app to use DESCRIPTION diff --git a/src/commands/ai/models/create.ts b/src/commands/ai/models/create.ts index cb06a14..daf22fa 100644 --- a/src/commands/ai/models/create.ts +++ b/src/commands/ai/models/create.ts @@ -27,7 +27,7 @@ export default class Create extends Command { required: true, }), as: flags.string({description: 'alias name for model resource'}), - confirm: flags.string({description: 'overwrite existing config vars or existing add-on attachments'}), + confirm: flags.string({description: 'overwrite existing config vars or existing add-on aliases'}), remote: flags.remote(), } From ab6d73f3242419dd9151f811ea01a14a4a5ffdae Mon Sep 17 00:00:00 2001 From: Katy Bowman Date: Thu, 5 Dec 2024 15:59:07 -0500 Subject: [PATCH 2/2] chore: remove default app from README --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 781066d..86b666f 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ ARGUMENTS FLAGS -r, --remote= git remote of target app to use -s, --source-app= (required) source app for model resource - -t, --target-app= (required) [default: k80-ai-test-2] target app for model resource + -t, --target-app= (required) target app for model resource --as= alias name for model resource --confirm= overwrite existing attached resource with same name @@ -112,8 +112,8 @@ ARGUMENTS MODEL_RESOURCE Resource ID or alias of the model to call. The --app flag must be included if an alias is used. FLAGS - -a, --app= [default: k80-ai-test-2] Name or ID of the app. This flag is required if an alias is used for - the MODEL_RESOURCE argument. + -a, --app= Name or ID of the app. This flag is required if an alias is used for the MODEL_RESOURCE + argument. -j, --json output response as JSON -o, --output= the file path where the command writes the model response -p, --prompt= (required) the input prompt for the model @@ -144,7 +144,7 @@ ARGUMENTS MODEL_NAME name of the model to provision access for FLAGS - -a, --app= (required) [default: k80-ai-test-2] name of the Heroku app to attach the model to + -a, --app= (required) name of the Heroku app to attach the model to -r, --remote= git remote of app to use --as= alias name for model resource --confirm= overwrite existing config vars or existing add-on aliases @@ -173,7 +173,7 @@ ARGUMENTS MODEL_RESOURCE resource ID or alias of the model resource to destroy FLAGS - -a, --app= (required) [default: k80-ai-test-2] app to run command against + -a, --app= (required) app to run command against -c, --confirm= -f, --force allow destruction even if connected to other apps -r, --remote= git remote of app to use @@ -199,7 +199,7 @@ ARGUMENTS MODEL_RESOURCE resource ID or alias of the model resource to detach FLAGS - -a, --app= (required) [default: k80-ai-test-2] name of the Heroku app to detach the model resource from + -a, --app= (required) name of the Heroku app to detach the model resource from -r, --remote= git remote of app to use DESCRIPTION @@ -223,7 +223,7 @@ ARGUMENTS MODEL_RESOURCE resource ID or alias of the model resource to check FLAGS - -a, --app= (required) [default: k80-ai-test-2] app to run command against + -a, --app= (required) app to run command against -r, --remote= git remote of app to use DESCRIPTION