Skip to content

Commit

Permalink
chore: use short container profile names (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap authored Jul 2, 2024
1 parent 1c988c4 commit 1ae0a33
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/aptible/cli/subcommands/apps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def apps
option :container_count, type: :numeric
option :container_size, type: :numeric
option :container_profile, type: :string,
desc: 'Examples: m5 c5 r5'
desc: 'Examples: m c r'
define_method 'apps:scale' do |type|
service = ensure_service(options, type)

Expand Down
2 changes: 1 addition & 1 deletion lib/aptible/cli/subcommands/backup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def self.included(thor)
option :disk_size, type: :numeric
option :key_arn, type: :string
option :container_profile, type: :string,
desc: 'Examples: m5 c5 r5'
desc: 'Examples: m c r'
option :iops, type: :numeric
define_method 'backup:restore' do |backup_id|
backup = Aptible::Api::Backup.find(backup_id, token: fetch_token)
Expand Down
6 changes: 3 additions & 3 deletions lib/aptible/cli/subcommands/db.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def self.included(thor)
option :key_arn, type: :string
option :environment
option :container_profile, type: :string,
desc: 'Examples: m5 c5 r5'
desc: 'Examples: m c r'
option :iops, type: :numeric
define_method 'db:create' do |handle|
account = ensure_environment(options)
Expand Down Expand Up @@ -147,7 +147,7 @@ def self.included(thor)
option :version, type: :string
option :key_arn, type: :string
option :container_profile, type: :string,
desc: 'Examples: m5 c5 r5'
desc: 'Examples: m c r'
option :iops, type: :numeric
define_method 'db:replicate' do |source_handle, dest_handle|
source = ensure_database(options.merge(db: source_handle))
Expand Down Expand Up @@ -303,7 +303,7 @@ def self.included(thor)
option :environment
option :container_size, type: :numeric
option :container_profile, type: :string,
desc: 'Examples: m5 c5 r5'
desc: 'Examples: m c r'
option :disk_size, type: :numeric
option :size, type: :numeric
option :iops, type: :numeric
Expand Down
2 changes: 1 addition & 1 deletion lib/aptible/cli/subcommands/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def self.included(thor)
option :container_profile, type: :string,
desc: 'This option only affects new ' \
'services, not existing ones. ' \
'Examples: m5 c5 r5'
'Examples: m c r'
DOCKER_IMAGE_DEPLOY_ARGS.each_pair do |opt, var|
option opt,
type: :string, banner: var,
Expand Down

0 comments on commit 1ae0a33

Please sign in to comment.