Hive::Toolbelt
Command Line Interface for the Hive wallet
Installation
$ gem install hive-toolbelt
Usage
$ hive init # walk you through scaffolding a Hive app
$ hive package # creates a .hiveapp bundle from specified or current working directory (.hidden files ignored)
$ hive serve # serve current working directory as a .hiveapp bundle by starting a registry server
$ hive release # (TODO) bumps version, tags and pushes
hive init
$ mkdir new_app
$ cd new_app
$ hive init
hive init
asks questions and scaffolds a Hive app. It
- creates manifest.json. Read more on manifest configuration
- creates a skeleton index.html. Read more on index.html
- provides a default icon
- generates basic app structure. Read more on app structure
- includes a mock Hive API for in-browser development & testing
hive package
hive package [DIR_NAME]
packages a directory into a .hiveapp bundle. DIR_NAME
defaults to current working directory if not specified. Regardless of DIR_NAME
, the generated .hiveapp
bundle is always located at current working directory.
Note that the command deliberately exclude all .hidden files and directories, like .git
, when generating the bundle.
Contributing
- Fork it ( http://github.com/hivewallet/hive-toolbelt/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request