Serj Kalichev
|
03f2fdd986
Interactive/non-interactive mode. Fix issue #41.
|
14 lat temu |
Serj Kalichev
|
49389e701e
The forceline() and readline() can return executed command output (stdout). Fix issue #43.
|
14 lat temu |
Serj Kalichev
|
2b8b3f67a5
The script callback can return the output of the executed action. The konf_buf class now use fd instead sock and can return the whole readed line.
|
14 lat temu |
Serj Kalichev
|
c77f40d8a3
Create unique FIFO for shebang emulation.
|
14 lat temu |
Serj Kalichev
|
04b1b50125
Close unneeded descriptors
|
14 lat temu |
Serj Kalichev
|
138b10ba64
Fix issue #15. The default_shebang in STARTUP tag is implemented.
|
14 lat temu |
Serj Kalichev
|
496654bf7b
The shebang for the ACTION was implemented. Issue #15.
|
14 lat temu |
Serj Kalichev
|
4274b34a44
Implement -w and -i clish options to set startup view and viewid.
|
14 lat temu |
Serj Kalichev
|
2cf9cd656d
Implement -x clish utility option to set path to get XMLs from.
|
14 lat temu |
Serj Kalichev
|
a941ca386a
Fix file stack to get commands from. The shell can be inited without instream.
|
14 lat temu |
Serj Kalichev
|
877d51f349
The clish now undertand -h (help), -v (version) and -s (set konfd socket) options.
|
14 lat temu |
Serj Kalichev
|
995638b463
The clish utility will not use threads by default. The appropriate API is implemented.
|
14 lat temu |
Serj Kalichev
|
7f452f368d
The spawn API refactoring.
|
14 lat temu |
Serj Kalichev
|
4ca9156930
The spawn API changing. Not stable yet. Don't use this technological revision.
|
14 lat temu |
Serj Kalichev
|
946cc8d4dc
The locking is implemented. When command is executing the enother clish can't execute commands. The action and config changes is atomic.
|
14 lat temu |
Serj Kalichev
|
1addd687ea
clish_shell_readline() and clish_shell_forceline() API functions
|
14 lat temu |
Serj Kalichev
|
750d9371c8
API to execute C-strings as a CLI commands.
|
14 lat temu |
Serj Kalichev
|
08e2c340cb
Function to get full pwd string and current depth. CONFIG's depth in config file. Don't used yet.
|
14 lat temu |
Serj Kalichev
|
502422b6b8
Implementation of 'restore' feature
|
14 lat temu |
Serj Kalichev
|
847dfa9196
Add ostream to context and shell. Use ostream for normal data exchange. Use stderr for error messages and help.
|
14 lat temu |
Serj Kalichev
|
9de478a99d
Rename all configure subsystem API. The confd daemon is konfd now.
|
14 lat temu |
Serj Kalichev
|
8c4cc0a30f
Some renaming. Move free(context). Remove clish_context_spawn_fd().
|
14 lat temu |
Serj Kalichev
|
324535e335
Make context structure from shell_spawn.c is accessible for user. Three functions works with clish_context_t: clish_context_spawn(), clish_context_spawn_fd(), clish_context_wait().
|
14 lat temu |
Serj Kalichev
|
c30fc7a7e8
The first klish tree.
|
14 lat temu |