changed cligen repo from olofhagsand/cligen to clicon/cligen

This commit is contained in:
Olof hagsand 2020-06-21 15:57:43 +02:00
parent 3af184c655
commit 1597bd303c
12 changed files with 17 additions and 16 deletions

View file

@ -7,7 +7,7 @@
## CLIgen
The Clixon CLI uses [CLIgen](http://github.com/olofhagsand/cligen) best described by the [CLIgen tutorial](https://github.com/olofhagsand/cligen/blob/master/cligen_tutorial.pdf). The [example](example) is also helpful.
The Clixon CLI uses [CLIgen](http://github.com/clicon/cligen) best described by the [CLIgen tutorial](https://github.com/clicon/cligen/blob/master/cligen_tutorial.pdf). The [example](example) is also helpful.
Clixon adds some features and structure to CLIgen which include:
* A plugin framework for both textual CLI specifications(.cli) and object files (.so)

View file

@ -54,7 +54,7 @@ configure.ac --.
Makefile.in ---' `-> Makefile ---'
```
Note: remember to run autoheader sometimes (when?)
And when you do note (https://github.com/olofhagsand/cligen/issues/17) which states that cligen_custom.h should be in quote.
And when you do note (https://github.com/clicon/cligen/issues/17) which states that cligen_custom.h should be in quote.
Get config.sub and config.guess:
$ wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD'

View file

@ -65,7 +65,7 @@ Clixon also supports Yang extensions, see main example.
## Which programming language is used?
Clixon is written in C. The plugins are written in C. The CLI
specification uses [CLIgen](http://github.com/olofhagsand/cligen)
specification uses [CLIgen](http://github.com/clicon/cligen)
## How to best understand Clixon?
Run the Clixon main example, in the [example](../example) directory or [examples repo](https://github.com/clicon/clixon-examples), or [main documentation](https://clixon-docs.readthedocs.io)
@ -507,7 +507,7 @@ More are found in the doxygen reference.
where 'cvv' contains the value of the variable 'var' and 'argv' contains the string "myarg".
The 'cvv' datatype is a 'CLIgen variable vector'.
They are documented in [CLIgen tutorial](https://github.com/olofhagsand/cligen/blob/master/cligen_tutorial.pdf)
They are documented in [CLIgen tutorial](https://github.com/clicon/cligen/blob/master/cligen_tutorial.pdf)
## How do I write a validation function?
Similar to a commit function, but instead write the transaction_validate() function.

View file

@ -14,7 +14,7 @@ sudo apt-get install flex bison fcgi-dev curl-dev
Install and build CLIgen
```
git clone https://github.com/olofhagsand/cligen.git
git clone https://github.com/clicon/cligen.git
cd cligen;
configure;
make;

View file

@ -58,9 +58,9 @@ See [LICENSE.md](LICENSE.md) for the license.
## Dependencies
Clixon depends on the following software packages, which need to exist on the target machine.
- [CLIgen](http://github.com/olofhagsand/cligen) If you need to build and install CLIgen:
- [CLIgen](http://github.com/clicon/cligen) If you need to build and install CLIgen:
```
git clone https://github.com/olofhagsand/cligen.git
git clone https://github.com/clicon/cligen.git
cd cligen; configure; make; make install
```
- Yacc/bison