For now, the interface is like:
clara repo key
clara repo init [--dist=]
clara repo sync (all|...|--dist=)
clara repo add ... [--dist=] [--reprepro-flags="list of flags"...]
clara repo del ...[--dist=]
clara repo list [--dist=]
It turns out that it is very error-prone and one can easily forget the --dist parameter :)
Ideally, the interface should be:
clara repo init [dist]
clara repo sync (all|/...|)
clara repo add ... [--reprepro-flags="list of flags"...]
clara repo del ...
clara repo list
clara could then make the parameter optional if config.ini:distributions contains only one distribution. Dunno if the latter is easy to implement though.
For now, the interface is like: clara repo key clara repo init [--dist=]
clara repo sync (all|...|--dist=)
clara repo add ... [--dist=] [--reprepro-flags="list of flags"...]
clara repo del ...[--dist=]
clara repo list [--dist=]
It turns out that it is very error-prone and one can easily forget the --dist parameter :) Ideally, the interface should be: clara repo init [dist] clara repo sync (all|/...|)
clara repo add ... [--reprepro-flags="list of flags"...]
clara repo del ...
clara repo list
clara could then make the parameter optional if config.ini:distributions contains only one distribution. Dunno if the latter is easy to implement though.