aboutsummaryrefslogtreecommitdiff
path: root/suckless/cli.md
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-09-30 14:06:22 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-09-30 14:06:22 -0300
commit23ac9f57b9b4c761cb8edc5bfa0c0de77ec89326 (patch)
tree3dab0ec66d67cd62b7e815fea4d62da481042b7b /suckless/cli.md
parent9c21d35c535a4956960851d3c438d58af5f67d92 (diff)
downloadblog-23ac9f57b9b4c761cb8edc5bfa0c0de77ec89326.tar.gz
blog-23ac9f57b9b4c761cb8edc5bfa0c0de77ec89326.tar.bz2
Change extension to .md
Diffstat (limited to 'suckless/cli.md')
-rw-r--r--suckless/cli.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/suckless/cli.md b/suckless/cli.md
new file mode 100644
index 0000000..8dd9c01
--- /dev/null
+++ b/suckless/cli.md
@@ -0,0 +1,16 @@
+[[!meta title="The New Command Line Manifesto"]]
+
+Idea: let all new commands to support also machine-readable
+formats as inputs and outputs.
+
+This, along with UNIX pipes and daemon interfacing, brings CLI
+to a new era of services that are:
+
+* Still based on small programs that do one thing but one thing right.
+* But also are capable of interacting with each other in an uniform way.
+
+So let them support parameters like `--json` and `--yaml` for it's I/O.
+
+In other words, with parsers and serializers it's possible to keep an
+ecosystem of UNIX microservices interacting with each other using a
+consistent API.