summaryrefslogtreecommitdiffstats
path: root/src/nbblib/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/nbblib/main.py')
-rw-r--r--src/nbblib/main.py39
1 files changed, 18 insertions, 21 deletions
diff --git a/src/nbblib/main.py b/src/nbblib/main.py
index 5a7386e..8798608 100644
--- a/src/nbblib/main.py
+++ b/src/nbblib/main.py
@@ -17,7 +17,7 @@ Features:
* does out-of-source-tree builds (in-source-tree-builds unsupported)
* direct support for automake/autoconf based build systems
-TBD: Command line interface:
+Command line interface (implemeted):
Run default build commands:
$ %(prog)s [general options] init [command specific options]
@@ -25,6 +25,23 @@ TBD: Command line interface:
$ %(prog)s [general options] build [command specific options]
$ %(prog)s [general options] install [command specific options]
+ Get/set config:
+ $ %(prog)s [general options] config srcdir
+ $ %(prog)s [general options] config builddir [<builddir>]
+ $ %(prog)s [general options] config installdir [<installdir>]
+
+ Start an interactive shell in either of the three directories:
+ $ %(prog)s [general options] sh --srcdir [command specific options]
+ $ %(prog)s [general options] sh [--builddir] [command specific options]
+ $ %(prog)s [general options] sh --installdir [command specific options]
+
+ Run command in either of the three directories:
+ $ %(prog)s [general options] run --srcdir <command> [<param>...]
+ $ %(prog)s [general options] run [--builddir] <command> [<param>...]
+ $ %(prog)s [general options] run --installdir <command> [<param>...]
+
+TBD: Command line interface:
+
Run cleanup commands:
$ %(prog)s [general options] purge [command specific options]
Command specific options:
@@ -34,26 +51,6 @@ TBD: Command line interface:
$ %(prog)s [general options] purge --all # or that
TBD: 'make clean', 'make distclean' and similar stuff?
- Get/set config:
- $ %(prog)s [general options] config srcdir
- $ %(prog)s [general options] config builddir [<builddir>]
- $ %(prog)s [general options] config installdir [<installdir>]
-
- Start an interactive shell in either of the three directories:
- $ %(prog)s [general options] src-sh [command specific options]
- $ %(prog)s [general options] build-sh [command specific options]
- $ %(prog)s [general options] install-sh [command specific options]
-
- Run command in builddir:
- $ %(prog)s [general options] run <command> [<param>...]
- $ %(prog)s [general options] run [command specific options... <-->] <cmd>...
-
- (Not sure about these)
- Run a non-interactive shell command in either of the three directories:
- $ %(prog)s [general options] src-sh [command specific options] <command>...
- $ %(prog)s [general options] build-sh [command specific options] <command>...
- $ %(prog)s [general options] install-sh [command specific options] <cmd...>
-
Global options:
-h --help Print this help text