lib/renuo/cli.rb in renuo-cli-2.0.0 vs lib/renuo/cli.rb in renuo-cli-3.0.0

- old
+ new

@@ -36,11 +36,10 @@ if agree("Why don't you update with `gem update renuo-cli`? I can run it for you. 💪") system("gem update #{Renuo::Cli::NAME}") abort 'Nice! I updated myself. 🤩 Now you can run the command again.' end abort('Good. Just do it yourself then...😒') - exit end command 'display-name'.to_sym do |c| c.syntax = 'renuo display-name [options]' c.summary = 'Sets the name of a customer on the Renuo dashboard' @@ -119,14 +118,14 @@ - project name and suffix so that the script can respect our naming conventions - the Redmine project name to tag buckets for AWS billing references - whether you want to setup CloudFront to deliver assets via S3 The generated commands do the following: - - create an IAM user for each environment (master, develop, testing) and add it to the renuo apps group. + - create an IAM user for each environment (main, develop, testing) and add it to the renuo apps group. - create S3 buckets for each user who owns it - tag the buckets - - enable versioning for master buckets + - enable versioning for main buckets (- set up a CloudFront distribution for each environment with the default config or plus alias if configured) DESCRIPTION c.example 'Setup a project (you will be asked for details)', 'renuo create-aws-project' c.action do |_args, _options| CreateAwsProject.new.run @@ -146,11 +145,11 @@ end end command 'release' do |c| c.syntax = 'renuo release' - c.summary = 'Release a projects state of develop (on github) to master in one command.' - c.description = 'Creates a new release version of a project on master as either a Major, Minor, '\ + c.summary = 'Release a projects state of develop (on github) to main in one command.' + c.description = 'Creates a new release version of a project on main as either a Major, Minor, '\ 'Patch or Custom release based on the current state of develop on Github' c.example 'renuo release my-project minor', 'release a minor release of my-project' c.example 'renuo release my-project custom 2.5.0', 'release my-project as release 2.5.0' c.action do |args| ReleaseProject.new.run(args)