clan: remove config subcommand
This removes the `config` subcommand from the cli and the documentation to keep the api surface small. While this functionality was convenient it doesn't need to be surfaced by the clan cli. The remaining `config` python module should be ported to the `clan-app` in a follow up pr. Because the functionality is currently only used by the `clan-app`. Ideally together with: #1830.
This commit is contained in:
@@ -60,9 +60,7 @@ let
|
||||
source = runCommand "clan-cli-source" { } ''
|
||||
cp -r ${./.} $out
|
||||
chmod -R +w $out
|
||||
rm $out/clan_cli/config/jsonschema
|
||||
ln -sf ${nixpkgs'} $out/clan_cli/nixpkgs
|
||||
cp -r ${../../lib/jsonschema} $out/clan_cli/config/jsonschema
|
||||
|
||||
${classgen}/bin/classgen ${inventory-schema}/schema.json $out/clan_cli/inventory/classes.py
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user