From 3410d3349b91e068e5a303e4701d5cbbb7d9f92d Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Wed, 2 May 2018 15:59:56 -0400 Subject: [PATCH] share/man: add manpage for `nitpackage` Signed-off-by: Alexandre Terrasa --- share/man/nitpackage.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 share/man/nitpackage.md diff --git a/share/man/nitpackage.md b/share/man/nitpackage.md new file mode 100644 index 0000000..0c21fdb --- /dev/null +++ b/share/man/nitpackage.md @@ -0,0 +1,34 @@ +# NAME + +nitpackage - provide useful features to manage Nit packages. + + +# SYNOPSIS + +nitpackage [*options*] FILE... + + +# DESCRIPTION + +`nitpackage` provide packages related features. + +For now, only one thing is implemented: the *package expansion*. + +## Expanding packages + +The `--expand` option is used to move singleton packages in their own directory. + +For example, to move all singleton packages from `lib/` into directories, one can +use the following command. + +~~~sh +nitpackage --expand lib/ +~~~ + +# OPTIONS + +### `--expand` +Move singleton packages to their own directory. + +### `-h`, `-?`, `--help` +Show Help (the list of options). -- 1.7.9.5