command
module
Version:
v0.0.0-...-5f4d853
Opens a new window with list of versions in this module.
Published: May 2, 2023
License: GPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
nosh
Take starlark
, take go
and wrap them into a cross-plat shell of sorts.
Motivation is to do basic shell tasks in bazel
with something cross-plat, easy
to provision via bazel
and which tastes like starlark
.
See ./quicktest.nosh for examples.
Todo
-
print / printf
-
assert
-
regex
-
defer
-
signal handling
-
set -e (NOTE: there's no exceptions in starlark)
-
set -x
-
json
-
math
-
xml
-
ini/cfg (?)
-
glob/globby
-
hash
-
base64
-
templating
-
getenv/setenv
-
expand env
-
sleep
-
dates
-
parallel
-
args
-
cli / argparse ?
-
cli -c
-
tee
-
os.run
- capture
- env
- pipes
- redirections
- background
- timeouts
-
os.distro/kind/os-type/uname
-
os.pkill <name-*>
-
os.https://nim-lang.org/docs/dynlib.html
-
os.getTempDir
-
os.sendSignal
-
os.registry (WIN-ONLY)
-
os.random
-
os.clipboard
-
fs.chdir / cd
-
fs.popd
-
fs.pwd / pwd
-
fs.find
-
fs.join
-
fs.realpath
-
fs.basename
-
fs.symlink-handling
-
fs.copy
-
fs.move
-
fs.exists
-
fs.mkdir
-
fs.samefile
-
fs.stat
-
fs.read
-
fs.write
-
fs.remove
-
fs.touch
-
fs.mktemp
-
net.ping
-
net.curl
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.