更多用法见: 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
1
loonghk 2020-05-28 20:12:27 +08:00
python 就是这点好,总有新轮子
我之前用 fire 库,现在可以换你这个玩玩了 |
2
xingheng 2020-05-28 23:38:17 +08:00
怎么解决第三方依赖的问题
|
4
leishi1313 2020-05-28 23:53:12 +08:00 via Android
@loonghk 点进去一看,就是用 fire 做的😂
|
5
huntzhan OP @leishi1313 hhhhhh
|