3232define command directory ($root)
3333 help "Show information about directory" ;
3434 simple parameter directory :: <string> ,
35- node-class: <command- file>,
35+ node-class: <file-node >,
3636 accept-file?: #f ,
3737 must-exist?: #t ;
3838 implementation
@@ -49,13 +49,13 @@ define command show interface ($root)
4949 help "Query interfaces" ;
5050 flag parameter verbose :: <boolean> ;
5151 simple parameter name :: <string> ,
52- node-class: <command- oneof>,
52+ node-class: <oneof-node >,
5353 alternatives: #("eth0" , "eth1" , "eth2" , "eth3" );
5454 named parameter type :: <string> ,
55- node-class: <command- oneof>,
55+ node-class: <oneof-node >,
5656 alternatives: #("ethernet" ,"atm" );
5757 named parameter protocol :: <string> ,
58- node-class: <command- oneof>,
58+ node-class: <oneof-node >,
5959 alternatives: #("ip" ,"ip4" ,"ip6" ,"lldp" );
6060 implementation
6161 format-out("Nothing to show... %= | %=\n " , verbose, name);
7272define command show log ($root)
7373 help "Query logs" ;
7474 named parameter service :: <string> ,
75- node-class: <command- oneof>,
75+ node-class: <oneof-node >,
7676 alternatives: #("dhcp-server" ,"dhcp-client" ,"kernel" );
7777 named parameter level :: <string> ,
78- node-class: <command- oneof>,
78+ node-class: <oneof-node >,
7979 alternatives: #("fatal" ,"error" ,"warning" ,"notice" ,"info" ,"debug" ,"trace" );
8080 implementation
8181 format-out("Nothing to show...\n " );
0 commit comments