Releases: kyle-west/bashful
3.1.3: [bashful] gist install crash was corrupting the registry file (#11)
Releases as v3.1.3 When `getGistVersion` returns an empty string, this corrupts the entire registry file. So half of the pkgman features don't work anymore. This PR not only fixes why `getGistVersion` was breaking, it makes it so that it defaults to an empty string so that it does not corrupt the file.
3.1.2
3.1.1
3.1.0 - bashful gist update-registry
Add support for bashful gist add <url>
to save the URL in the manifest so that later, the user can choose to update the registry listing without having to look it up.
To update a registry listing on your machine, run the following command. It will grab the latest data so that you can access it via
bashful gist info
.bashful gist update-registry <name of the registry>
Also, I updated some of the test output to be more clear when things pass.
3.0.1
3.0.0
Recent changes to the design, architecture, and API of bashful
require a major version release.
NodeJS
is now a prerequisite ofbashful
. Note that it has always been a (silent) dependency ofjson
, but now thatbashful
usesjson
under the hood:node
is required for all users of[email protected]
bashful
and its native tools (json
,inc
,cache
, and utils) now have tests to ensure that regression does not break their API's and use cases.bashful gist install <url>
now records the origin so that the user can runbashful update <package>
(previously, they had to re-install it themselves)bashful
now has a concept of Gist Package Registries that host the descriptions of gists and their url's for the user to install from (bashful gist install <package-name>
will install from the registry)
Additionally, some minor changes were made.
- The API for
cache
upgraded (cache --restore [<folder 1> <...>]
): If no folder names are given as arguments, it will restore all folders in the cache for the current directory. bashful man <gist-program>
is now supported (opens up the gist url)git
is now quiet when pulling down data
Coming soon (hidden internal features subject to change)
bashful.parseArgs
use this to pre-parse the arguments to scripts you write (being tested incache
)bashful.autoDocs
auto generate help info from the comments in the script code itself (being tested inbashful
)
2.2.0
2.1.0 - Introducing `bashful gist install <url>`
Installing GitHub Gists
Warning: this feature is experimental and subject to possible change
bashful gist install <url-to-github-gist>
I once wanted to send a coworker a script that ran a useful set of instructions for
a particular common work task. It ended up being a painful process to have the file
added to PATH
and setting the permissions so that it could be invoked from the
command line. So I decided to add a feature to bashful
to install gists as
executable files.
Example: Installing a gist from GitHub to the command line
I wrote a test gist to QA this feature of bashful
. Feel free to install it.
It's called bacon, and all it does is echo out a congratulations message.
bashful gist install https://gist.github.com/kyle-west/e3f91dc5817849ca4a316098911b7e7d # <-- link to `bacon` program
Now I can run bacon
from the terminal and see that it worked. (Note that the
bashful
will treat this as a normal native program, and you can remove it by
typing bashful uninstall bacon
).
2.0.0 - Introducing `bashful` CLI
You no longer need to use NPM to manage the BASHful Suite updates (only the initial install). See the CLI Docs for details.
Note to Version 1 users:
Version 2 will break your current installation. Please run npm run uninstall
before pulling this version to your machine*
1.1.0 - Introducing `inc` tool
inc
Increment the version number in both the bower.json
and package.json
files.
inc [major | minor | patch]