Commit graph

382 commits

Author SHA1 Message Date
sagie gur ari 5df3089b83 release 2020-07-24 16:26:35 +00:00
sagie gur ari c75e21a01a docs #121 2020-07-24 15:23:33 +00:00
sagie gur ari 09beae0ecd New function scope annotation 2020-07-24 14:51:06 +00:00
sagie gur ari 105b2f761a New scope_push_stack and scope_pop_stack commands 2020-07-24 12:21:47 +00:00
sagie gur ari f6bda033a0 makefile changes 2020-07-08 21:58:04 +00:00
sagie gur ari 445c23240e release 2020-07-07 22:42:49 +00:00
sagie gur ari 0f63612f73 New is_path_newer command 2020-07-07 22:24:11 +00:00
sagie gur ari 093ddd5972 New get_last_modified_time command 2020-07-07 21:25:27 +00:00
sagie gur ari 70dfc28d20 release 2020-07-03 11:34:07 +00:00
sagie gur ari 0998b3dec9 lint 2020-07-03 11:11:44 +00:00
sagie gur ari 249d4aca3a perf 2020-07-03 10:59:34 +00:00
sagie gur ari a4d83db289 lint rules 2020-07-03 10:44:29 +00:00
sagie gur ari c97aaf159e New noop command 2020-07-03 08:57:23 +00:00
sagie gur ari 8383eb0f3c Conditions to support function calls #116 2020-07-02 18:20:20 +00:00
sagie gur ari f495200258 New ftp_put and ftp_put_in_memory commands 2020-06-30 21:23:59 +00:00
Sagie Gur-Ari 4dcd6d08ad
Merge pull request #115 from sagiegurari/master
merge
2020-06-30 09:04:39 +03:00
dependabot[bot] bb8dd27199
Update attohttpc requirement from ^0.14 to ^0.15
Updates the requirements on [attohttpc](https://github.com/sbstp/attohttpc) to permit the latest version.
- [Release notes](https://github.com/sbstp/attohttpc/releases)
- [Commits](https://github.com/sbstp/attohttpc/compare/v0.14.0...v0.15.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-30 03:01:57 +00:00
sagie gur ari cb3b2d2cbf New ftp_get and ftp_get_in_memory commands 2020-06-28 18:14:46 +00:00
sagie gur ari 7142e94c4a Add transfer type support for base ftp flow 2020-06-26 18:49:16 +00:00
sagie gur ari 93bac91889 improve ftp commands 2020-06-26 18:15:54 +00:00
sagie gur ari c0e9b5b298 New ftp_list and ftp_nlst commands 2020-06-26 18:03:54 +00:00
dependabot[bot] efbaf13920
Update whoami requirement from ^0.8 to ^0.9
Updates the requirements on [whoami](https://github.com/libcala/whoami) to permit the latest version.
- [Release notes](https://github.com/libcala/whoami/releases)
- [Changelog](https://github.com/libcala/whoami/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libcala/whoami/compare/v0.8.0...v0.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-26 03:01:18 +00:00
dependabot[bot] 6b7d89615f
Update attohttpc requirement from ^0.13 to ^0.14
Updates the requirements on [attohttpc](https://github.com/sbstp/attohttpc) to permit the latest version.
- [Release notes](https://github.com/sbstp/attohttpc/releases)
- [Commits](https://github.com/sbstp/attohttpc/compare/v0.13.0...v0.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-08 03:02:07 +00:00
sagie gur ari 785fd31ec8 release 2020-06-06 14:29:03 +00:00
sagie gur ari e15cbab267 improve flow control commands context checks 2020-06-06 14:06:33 +00:00
sagie gur ari 1d8fabb55d Fixed end command bug which directed execution to wrong sub command when multiple script contexts are running #110 2020-06-05 21:38:28 +00:00
sagie gur ari 013d20d723 release 2020-06-05 12:48:14 +00:00
sagie gur ari d98b26c4ca release 2020-06-04 16:59:58 +00:00
sagie gur ari 4de6417ce2 Minor formatting #108 2020-06-04 16:38:56 +00:00
sagie gur ari cb7cd678a5 New Enable to error an exec command via new --fail-on-error flag #108 2020-06-04 16:34:14 +00:00
dependabot-preview[bot] c5d0cf0e08
Update which requirement from ^3 to ^4
Updates the requirements on [which](https://github.com/harryfei/which-rs) to permit the latest version.
- [Release notes](https://github.com/harryfei/which-rs/releases)
- [Commits](https://github.com/harryfei/which-rs/compare/3.0.0...4.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 03:25:21 +00:00
sagie gur ari 64fc7850ac release 2020-05-07 16:58:04 +00:00
sagie gur ari 9e6b35ce07 New set_from_array command 2020-05-07 16:29:32 +00:00
sagie gur ari c59743ecef New set_to_array command 2020-05-06 16:23:40 +00:00
sagie gur ari 6dca69a650 Multiple new set commands. 2020-05-06 07:42:26 +00:00
sagie gur ari 8240f74aa4 Add array_size alias to array_length command 2020-05-05 17:41:45 +00:00
sagie gur ari f090237e9d New array_remove command 2020-05-05 17:39:54 +00:00
sagie gur ari 1e35a39c23 New array_clear command 2020-05-05 17:28:17 +00:00
sagie gur ari 0f4107c631 Add array_add and array_put aliases to array_push 2020-05-05 07:00:46 +00:00
sagie gur ari 67ab71d93d New set_new and is_set commands 2020-05-05 06:33:27 +00:00
sagie gur ari 1ef91e3fa7 Runtime - Support for hashset state value 2020-05-05 06:13:55 +00:00
sagie gur ari a5457e636a New unset command 2020-05-04 07:23:12 +00:00
sagie gur ari 4bd6bf1ec7 New array_contains command 2020-05-04 06:46:35 +00:00
sagie gur ari 51fb735911 New array_contains_value command 2020-05-04 06:39:23 +00:00
sagie gur ari 1efee55f79 New map_contains_value command 2020-05-04 05:42:53 +00:00
sagie gur ari e64effc131 New map_contains_key command 2020-05-03 20:57:59 +00:00
sagie gur ari 170e1e4a90 New get_all_var_names command #100 2020-05-03 19:36:09 +00:00
sagie gur ari 898e2c4799 New set_by_name command 2020-05-02 12:13:27 +00:00
sagie gur ari 02e99a7a82 New get_by_name command 2020-05-02 11:24:54 +00:00
sagie gur ari 83f1ce381f Merge branch 'master' of github.com:sagiegurari/duckscript 2020-04-28 15:36:56 +00:00
sagie gur ari 103f26dd35 lint updates 2020-04-28 15:35:01 +00:00
dependabot-preview[bot] 0a3e66a443
Update attohttpc requirement from ^0.12 to ^0.13
Updates the requirements on [attohttpc](https://github.com/sbstp/attohttpc) to permit the latest version.
- [Release notes](https://github.com/sbstp/attohttpc/releases)
- [Commits](https://github.com/sbstp/attohttpc/compare/v0.12.0...v0.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 03:30:11 +00:00
sagie gur ari 56c635b949 docs 2020-04-24 12:36:50 +00:00
sagie gur ari bab34b4106 release 2020-04-14 23:24:42 +00:00
sagie gur ari 6961e6cc46 New which command 2020-04-14 22:55:58 +00:00
sagie gur ari a32c4428b2 New cpu_count command 2020-04-14 22:15:34 +00:00
sagie gur ari f2b62e3b96 New printenv command #97 2020-04-14 13:51:24 +00:00
sagie gur ari 281beaa44a New env_to_map command #96 2020-04-14 13:36:27 +00:00
sagie gur ari abcacf85dc New map_keys command 2020-04-14 11:07:04 +00:00
sagie gur ari 2ca953b171 New temp_dir command 2020-04-14 07:29:53 +00:00
sagie gur ari e38ea5a4b9 clippy fixes 2020-04-05 08:21:18 +00:00
sagie gur ari 81288b9288 formatting 2020-04-05 07:48:59 +00:00
sagie gur ari 57e0f49515 release 2020-04-04 12:37:03 +00:00
sagie gur ari 75ecd10ada docs 2020-04-04 12:20:48 +00:00
sagie gur ari a0ce056bae New array_set command 2020-04-04 12:14:54 +00:00
sagie gur ari 79b471bb06 New array_get command #94 2020-04-04 11:59:38 +00:00
sagie gur ari 2f0abe804e docs 2020-04-03 10:34:00 +00:00
sagie gur ari 5dcaa9422b github actions instructions 2020-03-28 11:53:59 +00:00
sagie gur ari bc1258294c update build 2020-03-23 19:08:10 +00:00
sagie gur ari e25ad54014 release 2020-03-13 22:23:09 +00:00
sagie gur ari 20ccd07794 New remove_command command #91 2020-03-08 17:51:49 +00:00
sagie gur ari 9adee501e2 move alias commands 2020-03-08 16:43:28 +00:00
sagie gur ari 8255af645a chmod glob should exit with fase in case any chmod failed. 2020-03-08 14:31:27 +00:00
sagie gur ari a555be4805 windows fixes 2020-03-07 22:04:16 +00:00
sagie gur ari d4405fbb2d windows fixes 2020-03-07 21:56:05 +00:00
sagie gur ari 2ee763a5cc dependencies setup 2020-03-07 21:48:33 +00:00
sagie gur ari de08897bee dependencies setup 2020-03-07 21:35:54 +00:00
sagie gur ari 40b0221d4d OS windows commands support changes. 2020-03-07 21:28:47 +00:00
sagie gur ari 2f8f326977 sdk docs 2020-03-07 21:13:39 +00:00
sagie gur ari 94eed136d5 New os_version, os_release, os_name and uname commands 2020-03-07 21:06:32 +00:00
sagie gur ari 39fd472bdf New is_windows command 2020-03-07 19:10:05 +00:00
sagie gur ari 01f004b721 New glob_chmod command 2020-03-07 18:56:48 +00:00
sagie gur ari bbf2a6ebda New glob_array command #90 2020-03-07 17:52:23 +00:00
sagie gur ari 000070e457 fix tests for windows 2020-03-06 16:04:56 +00:00
sagie gur ari cfb3a0c7bc New chmod command #19 2020-03-06 15:57:00 +00:00
sagie gur ari 77e256dbfe New is_readonly command 2020-03-06 13:20:54 +00:00
sagie gur ari c197b042f4 New is_path_exists command 2020-03-06 11:08:51 +00:00
sagie gur ari 9d971b65c1 new is_file and is_dir commands 2020-03-06 11:02:52 +00:00
sagie gur ari 3b47706990 release 2020-02-21 11:03:41 +00:00
sagie gur ari 59f2a4ab40 New temp_file command #85 2020-02-19 18:19:12 +00:00
sagie gur ari 4d8e65215c New spawn command 2020-02-19 17:51:11 +00:00
sagie gur ari 31ebe87e59 Update build makefile 2020-02-19 16:41:20 +00:00
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