Tuesday, October 5, 2010

The klish-1.2.0 is out.

The klish-1.2.0 is out.

Changes:

  • The CONFIG's pattern field bacame a regexp;
  • The order lists (sequences) was implemented in konfd. The entries can save their order and have a sequence number. The sequence field in CONFIG tag;
  • The entries of konfd can be non-unique. The unique field in CONFIG tag;
  • The prefixes of NAMESPACE is regexp now and can have arbitrary values. It can be a sequence number for sequences;
  • The several subcommands can have the same displayable values. The names for internal variables must be different. See the PARAM's value field;
  • Strict args check. The args is not available if no args field in COMMAND tag;
  • Each command can restore its depth (nested views). The restore field in VIEW tag;
  • Implements clish_nested_up embedded function to change view to the view with depth = current depth -1. Can be used in ACTION builtin field;
  • The internal variables like ${cmd} were renamed to ${__cmd};
  • The __cmd, __full_cmd, __line, __params, __prefix, prefix<num>, __cur_depth, __cur_pwd internal variables were implemented;
  • The PARAM can be hidden. The hidden parameters will be not included into __line, __params. But it can be used by their names. The hidden field in PARAM tag;
  • The API functions to execute C-strings as a klish commands without threads;
  • Many minor changes;
  • Bugfix.

No comments:

Post a Comment