Sha256: a5ca1496a6c72f86e135186b30889efc831e609734b021d08f9961367f000785
Contents?: true
Size: 1.13 KB
Versions: 2
Compression:
Stored size: 1.13 KB
Contents
# YkCommand ## Pre install 准备好Ruby环境 ,依赖于RVM做ruby环境管理 ```shell \curl -sSL https://get.rvm.io | bash -s stable ``` ```shell source ~/.zshrc ``` ```shell rvm install 2.7.2 ``` ```shell rvm gemset create 2.7.2@tom ``` ```shell rvm use 2.7.2@tom ``` ## Installation $ gem install cocoapods thor colored2 install it yourself as: $ gem install yk_command Or Add this line to your application's Gemfile: ```ruby gem 'yk_command' ``` And then execute: $ bundle install ## Usage ```shell cd < you folder > ``` ```shell yk_command create ``` ## Development After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org). ```shell $ rake build $ rake release ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yk_command-0.3.5 | README.md |
yk_command-0.3.4 | README.md |