更多用法见: https://github.com/huntzhan/fireball
Basic usage:
$ fireball os:getcwd
/Users/huntzhan/Data/Project/personal/fireball
$ fireball os.path:join 'foo' 'bar'
foo/bar
$ fireball base64:b64encode 'b"foo"'
b'Zm9v
Help doc:
$ fireball base64:b64encode -- --help
NAME
b64encode - Encode the bytes-like object s using Base64 and return a bytes object.
SYNOPSIS
b64encode S <flags>
DESCRIPTION
Optional altchars should be a byte string of length 2 which specifies an
alternative alphabet for the '+' and '/' characters. This allows an
application to e.g. generate url or filesystem safe Base64 strings.
POSITIONAL ARGUMENTS
S
FLAGS
--altchars=ALTCHARS
--pdb_on_error=PDB_ON_ERROR
NOTES
You can also use flags syntax for POSITIONAL ARGUMENTS