Commit graph

340 commits

Author SHA1 Message Date
sagie gur ari 5165a30c10 Add support for Any state value 2020-02-19 16:39:23 +00:00
sagie gur ari a3d4b7c747 Use fsio crate for file system apis 2020-02-17 21:59:57 +00:00
sagie gur ari e8f5d12a29 release 2020-02-06 17:07:38 +00:00
sagie gur ari fc7e349619 state handle reusable functions 2020-02-06 15:51:06 +00:00
sagie gur ari 0fc38f40d8 state handle reusable functions 2020-02-06 15:47:15 +00:00
sagie gur ari 2aaf866a30 update flowcontrol package 2020-02-05 19:14:39 +00:00
sagie gur ari b26287573f update flowcontrol package 2020-02-05 19:13:09 +00:00
sagie gur ari 4cc8f820b9 The if/else and not commands now support complex conditions 2020-02-05 19:09:27 +00:00
sagie gur ari c54af0f297 minor stuff 2020-02-05 17:39:30 +00:00
sagie gur ari 151c4ff217 Release command now support recursive option 2020-02-01 15:10:35 +00:00
sagie gur ari 16ab11cd83 test_directory now sorts the test files. 2020-02-01 14:25:45 +00:00
sagie gur ari 33d94cdd59 New map_clear command 2020-02-01 14:22:11 +00:00
sagie gur ari cb7c986690 New map_to_properties command 2020-02-01 14:13:36 +00:00
sagie gur ari 32c165ff0b New map_load_properties command 2020-02-01 13:44:18 +00:00
sagie gur ari c2477cb4b1 New map_is_empty command 2020-02-01 13:21:31 +00:00
sagie gur ari 489c077cc1 New map_size command 2020-02-01 11:52:13 +00:00
sagie gur ari 3f6d509bcb New map_remove command 2020-02-01 11:35:37 +00:00
sagie gur ari effb4ff498 New is_map command 2020-02-01 11:28:29 +00:00
sagie gur ari 46d3d34436 New map_get and map_put commands 2020-02-01 11:23:19 +00:00
sagie gur ari 2d49a8c43e New map command 2020-02-01 11:00:18 +00:00
sagie gur ari 3ee2413ab8 The set command now supports 'or' condition 2020-01-31 14:41:31 +00:00
sagie gur ari 674093f8b8 New base64 command #79 2020-01-31 14:12:20 +00:00
sagie gur ari df0d2faa99 New base64 command #79 2020-01-31 14:11:00 +00:00
sagie gur ari d150583bb4 New base64 command #79 2020-01-31 14:05:30 +00:00
sagie gur ari 65cd9db9aa New write_binary_file and read_binary_file commands #78 2020-01-31 10:48:02 +00:00
sagie gur ari 242eb33551 Rename read/write text file commands 2020-01-30 22:56:17 +00:00
sagie gur ari d46d51d651 New base64_decode and base64_encode command #75 2020-01-30 22:52:03 +00:00
sagie gur ari b49bf51af6 New bytes_to_string and string_to_bytes commands. 2020-01-30 22:26:46 +00:00
sagie gur ari 699acb12ea minor perf fix 2020-01-30 21:27:48 +00:00
sagie gur ari e097ae7e92 Add prefix flag to write_properties command #77 2020-01-30 21:24:45 +00:00
sagie gur ari 642727aae9 Prevent panic for wget and http_client on invalid non http URL input 2020-01-30 21:16:02 +00:00
sagie gur ari cf2411dbd8 New split command #76 2020-01-30 21:10:36 +00:00
sagie gur ari 8e463dd635 New appendfile command 2020-01-26 21:26:25 +00:00
sagie gur ari b71223f5f5 New watchdog command 2020-01-26 18:32:59 +00:00
sagie gur ari c7fc320fa5 Split exec command to enable reuse 2020-01-26 15:22:47 +00:00
sagie gur ari 69ffac63c1 New pid command #73 2020-01-26 14:43:55 +00:00
sagie gur ari bd8f1d3445 Refactoring and modifying full name commands 2020-01-25 17:49:55 +00:00
sagie gur ari b84fd3d07a New whoami command 2020-01-25 17:29:26 +00:00
sagie gur ari c3570c1377 Alias based command implementations are not checked for variable leaks 2020-01-25 16:41:20 +00:00
sagie gur ari 13dd8b9d91 New get_home_dir command 2020-01-25 16:34:22 +00:00
sagie gur ari 2805a3c04c New array_join command 2020-01-25 16:23:19 +00:00
sagie gur ari dfefb7ff00 The read_properties command now support **--prefix** flag 2020-01-25 15:57:52 +00:00
sagie gur ari 74bd5eeade New array_concat command 2020-01-24 17:24:00 +00:00
sagie gur ari a500700a47 New trigger_error command 2020-01-24 16:45:15 +00:00
sagie gur ari e7cacc74b1 New array_push command 2020-01-24 16:20:19 +00:00
sagie gur ari 92434fbd87 sdk docs 2020-01-24 15:50:58 +00:00
sagie gur ari b62418f8c3 concat to support any arg count 2020-01-24 15:47:50 +00:00
sagie gur ari 78a63fe5bc New concat command 2020-01-24 15:45:36 +00:00
sagie gur ari 95917edb77 Improve wget input parsing 2020-01-24 15:37:12 +00:00
sagie gur ari 9b037b9931 release 2020-01-24 10:26:57 +00:00
sagie gur ari 1a74ae98ce small perf improvement 2020-01-24 09:42:02 +00:00
sagie gur ari 1e26d3ff36 Move test directory command to public std namespace to enable duckscript unit testing 2020-01-24 09:36:00 +00:00
sagie gur ari bb8828f94d Split wget and http_client command #66 2020-01-23 19:37:16 +00:00
sagie gur ari 883994f253 New array_pop command 2020-01-22 22:06:40 +00:00
sagie gur ari 09fe913f22 duckscript based commands, now have access to all arguments as an array 2020-01-22 21:48:52 +00:00
sagie gur ari bcfe1f68bc Commands created from duckscript now support help text and automatic scope clearing #69 2020-01-22 21:23:26 +00:00
sagie gur ari 598946426c New clear_scope command #71 2020-01-22 21:02:22 +00:00
sagie gur ari e1f399b0c7 New set_error command #68 2020-01-22 20:28:55 +00:00
sagie gur ari 887a17bb3c New is_array command #70 2020-01-22 20:17:52 +00:00
sagie gur ari 61a133889c exit 1 instead of panic on cli error 2020-01-22 20:08:11 +00:00
sagie gur ari b3d7ca0ac0 New version functions and commands for duckscript and duckscript SDK + New --version cli option. 2020-01-20 18:45:34 +00:00
sagie gur ari 274493319c New replace command. 2020-01-18 17:36:26 +00:00
sagie gur ari 9528e59696 more tests 2020-01-18 17:20:27 +00:00
sagie gur ari 3884b5c144 New current_time command 2020-01-18 17:10:44 +00:00
sagie gur ari 2a3bfb2f99 New greater_than and less_than commands 2020-01-18 16:56:49 +00:00
sagie gur ari 80d09ca94c wget (http_client) command #20 2020-01-18 16:41:03 +00:00
sagie gur ari 84fedc6b1d release 2020-01-17 15:17:15 +00:00
sagie gur ari afe59f8766 fix windows test 2020-01-17 13:57:15 +00:00
sagie gur ari 6568805ab1 fix windows test 2020-01-17 13:50:09 +00:00
sagie gur ari 0f75fafb21 New debug commands (dump_instructions, dump_state, dump_variables) #58 #59 #60 2020-01-17 12:08:10 +00:00
sagie gur ari b36050fbb2 cat command to support multiple files #62 2020-01-17 11:36:51 +00:00
sagie gur ari 99b18562ca Invoking a command that does not exist should crash and not error 2020-01-17 11:27:59 +00:00
sagie gur ari 3101ae03e3 New properties read/write commands #61 2020-01-17 10:39:50 +00:00
sagie gur ari 4d895e4711 Unalias can remove aliases not created from the alias command. 2020-01-15 17:54:09 +00:00
sagie gur ari 429886084c docs 2020-01-12 21:50:04 +00:00
sagie gur ari 7ac485587c release 2020-01-12 19:50:28 +00:00
sagie gur ari 6b00cb2e7e docs 2020-01-12 17:57:50 +00:00
sagie gur ari daf33fccde docs 2020-01-12 17:53:30 +00:00
sagie gur ari f852d67229 function, forin and ifelse blocks to support generic end command #53 2020-01-12 17:39:58 +00:00
sagie gur ari 6d79fe0cb0 windows build 2020-01-11 19:55:40 +00:00
sagie gur ari f8d0922d95 windows build 2020-01-11 19:47:46 +00:00
sagie gur ari 0051895615 fix windows build 2020-01-11 19:28:52 +00:00
sagie gur ari 31e3319cb4 CI flow to run duckscript based tests #54 2020-01-11 19:22:54 +00:00
sagie gur ari 9879f80b51 duckscript cli now accepts inline script #40 2020-01-11 18:28:49 +00:00
sagie gur ari 2506b9d7b8 Unit test framework for internal SDK commands and full test suite #51 2020-01-11 18:14:25 +00:00
sagie gur ari f4300236d7 initial work on self unit test 2020-01-11 14:54:54 +00:00
sagie gur ari 0e8756148e New exit_on_error command #49 2020-01-10 16:19:31 +00:00
sagie gur ari b057b8ba76 Ability to write standard SDK commands with duckscript #50 2020-01-10 15:02:38 +00:00
sagie gur ari cddd42d879 assert commands should return 'crash' and stop execution #52 2020-01-10 11:54:26 +00:00
Sagie Gur-Ari 1a55fa1bf1
Update help.md 2020-01-09 10:43:13 +02:00
sagie gur ari 8ef358179e bump version 2020-01-08 23:54:57 +00:00
sagie gur ari bb005815fe New array_length command 2020-01-08 23:50:04 +00:00
sagie gur ari fa5a3ee08c ForIn accepts handle value not variable name 2020-01-08 23:37:38 +00:00
sagie gur ari a2f425056e New length command (strlen) 2020-01-08 23:21:06 +00:00
sagie gur ari 1fd5a00242 New substring command #37 2020-01-08 23:11:10 +00:00
sagie gur ari 40bbfe6510 New uname/os_family command #43 2020-01-08 22:29:21 +00:00
sagie gur ari 8f69b3189b Commands should accept empty string inputs #47 2020-01-08 22:19:03 +00:00
sagie gur ari f781fed6ba Support spread binding #46 2020-01-08 22:06:42 +00:00
sagie gur ari 2f39ff51a4 docs 2020-01-06 18:48:53 +00:00
sagie gur ari 0d64eb349a New indexof and last_indexof commands #35 #36 2020-01-06 18:46:52 +00:00
sagie gur ari e5bac16b88 Added 'quit' and 'q' aliases to exit command #44 2020-01-06 18:32:01 +00:00
sagie gur ari 7942425e23 Added state 64 bit numeric value support #39 2020-01-06 18:29:06 +00:00
sagie gur ari 094a8f8b2d Changed standard namespace to std from sdk #34 2020-01-06 18:25:18 +00:00
sagie gur ari a6f8a0b3a9 New read command #33 2020-01-05 17:46:17 +00:00
sagie gur ari 8a8a30ed5c New hostname command #18 2020-01-05 17:25:53 +00:00
sagie gur ari 7c5b6e5dfa trim_start and trim_end commands #29 #30 2020-01-05 17:13:56 +00:00
sagie gur ari 1ff3a646c8 setup versions 2020-01-05 17:04:00 +00:00
sagie gur ari 77f641a497 range command #32 2020-01-05 17:02:30 +00:00
sagie gur ari f400052dab new trim, is_empty, is_defined commands 2020-01-04 08:30:38 +00:00
sagie gur ari 189d5b1825 release 2020-01-03 14:16:47 +00:00
sagie gur ari 1443742246 starts_with, contains and ends_with commands #26 #27 #28 2020-01-03 14:07:52 +00:00
sagie gur ari 8911efd958 release 2020-01-03 12:00:36 +00:00
sagie gur ari 4a3350f4ec revert 2020-01-03 11:51:48 +00:00
sagie gur ari c8642d992b fix sdk coverage flow 2020-01-03 11:51:20 +00:00
sagie gur ari 768a50b502 ls command #9 2020-01-03 11:38:45 +00:00
sagie gur ari 5fc5a934e0 docs 2020-01-03 10:34:39 +00:00
sagie gur ari 50ed0f8625 commands should not error on runtime errors, only on invalid user input 2020-01-03 10:30:03 +00:00
sagie gur ari 9d8c986a22 cp command #7 2020-01-03 10:07:43 +00:00
sagie gur ari 897da405dc new man command #16 2020-01-03 09:34:04 +00:00
sagie gur ari 6bb1207b6a math/calc command #10 2020-01-03 08:17:05 +00:00
sagie gur ari f38fa5ec2a unset_env command #23 2020-01-02 22:40:24 +00:00
sagie gur ari 810ee17f9b mv command #8 2020-01-02 22:32:48 +00:00
sagie gur ari a18ae71814 new rm command #15 2020-01-02 19:35:06 +00:00
sagie gur ari b78304c323 new rmdir command #14 2020-01-02 17:03:26 +00:00
sagie gur ari ee78556b71 new assert_eq command #22 2020-01-02 16:32:24 +00:00
sagie gur ari 4f24f9a601 new assert_fail command #3 2020-01-02 16:17:57 +00:00
sagie gur ari a2b8fb6672 new assert command #2 2020-01-02 15:48:13 +00:00
sagie gur ari 950d07abe1 touch command #4 2020-01-01 19:40:19 +00:00
sagie gur ari cd9fb8f7bd get_parent_directory_name tests 2020-01-01 19:12:06 +00:00
sagie gur ari 9ea74b9e0a dirname command #6 2020-01-01 19:09:57 +00:00
sagie gur ari 45426dd527 docs 2020-01-01 18:58:08 +00:00
sagie gur ari 6884166277 canonicalize and basename commands #21 #5 2020-01-01 18:56:38 +00:00
sagie gur ari c0bb87446a mkdir command #13 2020-01-01 18:33:50 +00:00
sagie gur ari 2e32c564b2 New not command #12 2019-12-31 23:24:06 +00:00
sagie gur ari f971b6c5bb split condition check to standalone module 2019-12-31 19:00:25 +00:00
sagie gur ari 730d561965 split condition check to standalone module 2019-12-31 18:39:46 +00:00
sagie gur ari 5ce4e251e5 split condition check to standalone module 2019-12-31 18:31:38 +00:00
sagie gur ari a0e2d2d765 release 2019-12-30 13:32:03 +00:00
sagie gur ari e6c1259e17 release 2019-12-30 13:25:55 +00:00
Sagie Gur-Ari 6249efda49
0.1.0 (#1)
initial
2019-12-30 12:45:28 +02:00