From e54ffe0c8c1ba300b5d989c5b16b8a234e9623b1 Mon Sep 17 00:00:00 2001 From: AdamMinton <53316110+AdamMinton@users.noreply.github.com> Date: Fri, 13 May 2022 14:03:05 -0400 Subject: [PATCH] fix: Added alias for folder command to point to space. (#133) * Added alias for folder command to point to space. * chore: change semantic pull request check Co-authored-by: Daniel C. Daugherty Co-authored-by: Mike DeAngelo --- .github/workflows/semantic-pull-requests.yml | 17 +++++++++++++++++ lib/gzr/cli.rb | 1 + 2 files changed, 18 insertions(+) create mode 100644 .github/workflows/semantic-pull-requests.yml diff --git a/.github/workflows/semantic-pull-requests.yml b/.github/workflows/semantic-pull-requests.yml new file mode 100644 index 0000000..331650d --- /dev/null +++ b/.github/workflows/semantic-pull-requests.yml @@ -0,0 +1,17 @@ +# .github/workflows/semantic-pull-requests.yml +name: Semantic Pull Requests + +on: + pull_request_target: + types: + - opened + - edited + - reopened + - synchronize + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - name: semantic-pull-request + uses: amannn/action-semantic-pull-request@v4.5.0 diff --git a/lib/gzr/cli.rb b/lib/gzr/cli.rb index 86b2ec2..3efb3c0 100644 --- a/lib/gzr/cli.rb +++ b/lib/gzr/cli.rb @@ -57,6 +57,7 @@ def version puts "v#{Gzr::VERSION}" end map %w(--version -v) => :version + map folder: :space # Alias folder command to space require_relative 'commands/attribute' register Gzr::Commands::Attribute, 'attribute', 'attribute [SUBCOMMAND]', 'Command description...'