Commit Graph

45 Commits

Author SHA1 Message Date
Ruben Fiszel 46c4e39b80 cli nits 2025-03-12 07:24:31 +01:00
Ruben Fiszel 016292a374 cli yaml parsing error more verbose 2024-10-12 03:01:54 +02:00
Ruben Fiszel a7d3a0eaa3 make cli more reliable 2024-10-11 16:33:18 +02:00
Ruben Fiszel 53c75b81e3 embed typescript client in cli (#4403)
* all

* all

* all

* all

* all
2024-09-18 16:45:39 +02:00
Ruben Fiszel 40b66062dd fix(cli): improve error message of cli 2024-08-19 22:18:56 +02:00
Ruben Fiszel a140e2b19e fix: improve generate flow locks 2024-07-15 20:14:42 +02:00
HugoCasa 4885ac9f4a fix: hide draft only items in pickers and from ops (#3977)
* fix: hide draft only scripts to ops and in pickers/flow builder

* fix: default to hiding draft only scripts

* fix: hide script drafts from ops

* fix: generalize to hide draft only/no main func by default

* fix: archived openapi nit
2024-06-26 12:21:45 +02:00
Ruben Fiszel 8ddbf645bf fix(cli): fix push flow support for windows 2024-06-21 15:27:16 +02:00
Ruben Fiszel 4d0c1b1371 fix(cli): support windows more thoroughly + fix generate flow locks (#3944)
* all

* all

* all

* fix lock

* fix lock

* fix lock

* fix lock
2024-06-21 14:23:33 +02:00
Ruben Fiszel 5cb2c9d1f7 feat(cli): add wmill flow generate-locks 2024-06-10 11:44:53 +02:00
Ruben Fiszel cdf7a285a4 fix(cli): support whileloop in flow cli sync 2024-05-11 02:06:14 +02:00
Ruben Fiszel 89aec0d7c7 feat(cli): split inline sscripts for apps like for flows 2024-04-28 14:55:33 +02:00
Ruben Fiszel ba6c705936 feat(cli): split lockfiles from script metadata 2024-04-28 12:29:06 +02:00
Ruben Fiszel 74c4c5197d feat(cli): use separate lockfiles for rawscipt of flows 2024-04-28 02:15:31 +02:00
Guillaume Bouvignies 33788f6361 feat: add script bootstrap and script generate-metadata CLI commands (#3007)
* feat: add script bootstrap and script generate-metadata CLI commands

* Address PR comments on code
2024-01-16 18:25:51 +01:00
Guillaume Bouvignies 925632ffd7 feat: CLI now accepts message arg for sync push (#2784) 2023-12-05 19:01:09 +01:00
Ruben Fiszel 5fcc31741d improve cli sync 2023-11-25 16:57:13 +01:00
Ruben Fiszel c08b774eef feat: cli sync on windows (#2283)
* cli windows

* update
2023-09-14 18:35:26 +02:00
Ruben Fiszel 104b5213b4 fix silent on flow run 2023-07-30 11:25:11 +02:00
Ruben Fiszel f4fbf93411 fix(cli): do not rely on x.nest.land 2023-05-24 15:37:00 +02:00
Ruben Fiszel 7165e2ce01 fix(cli): update wmill script push 2023-05-15 00:08:38 +02:00
Ruben Fiszel 21d4d3ee6e fix(cli): fix cli folder sync 2023-05-08 21:13:38 +02:00
Ruben Fiszel c87837022c cli nits 2023-05-06 11:11:22 +02:00
Ruben Fiszel c3441fb9f4 fix(cli): cli flow sync improvements 2023-05-06 11:06:39 +02:00
Ruben Fiszel 20c90901a7 feat(cli): split flows inline scripts 2023-05-05 23:26:03 +02:00
Ruben Fiszel 7de518c8d8 fix(cli): refactor cli (#1531)
* all

* cliUpgrade

* refactor entire cli
2023-05-05 02:51:01 +02:00
Ruben Fiszel b433098d2b fix(cli): add support for non metadataed scripts 2023-03-21 02:01:34 +01:00
Ruben Fiszel 8a848c9e0d fix(cli): many small fixes 2023-03-11 20:16:56 +01:00
Ruben Fiszel c59e013af5 fix(cli): fix workspace option + run script/flow + whoami 2023-03-02 13:21:50 +01:00
Ruben Fiszel 72b858f1b9 fix(cli): better ergonomics around workspace add 2023-02-23 13:19:14 +01:00
Ruben Fiszel 20435e16a5 cli nits 2023-02-22 14:26:36 +01:00
Ruben Fiszel e2085c0359 feat: CLI refactor v1 2023-02-22 14:21:53 +01:00
Ruben Fiszel d1be3192ea remove references to starter workspace' 2023-02-22 13:56:24 +01:00
Ruben Fiszel 0fd26cf4fe remove metadata from zip 2023-02-22 09:12:22 +01:00
Ruben Fiszel 29d0cc620f feat: add delete flows 2023-02-22 08:40:11 +01:00
Ruben Fiszel e553b3e2fd update cli 2023-02-22 01:07:48 +01:00
Ruben Fiszel 9fc186764f v0 of cli refactor 2023-02-22 00:15:32 +01:00
Kai Jellinghaus 908e7e5ba2 CLI fixes (#1204)
* Add default workspace URL

* R1 WIP

* Improve help docs slightly

* Rework tracking state

* WIP Rework
Remaining bug: Not returning state-only files (no local file) from *getFiles()

* Create newly found files

* Finish ZIP & new tracking code

* Fix two minor bugs

* do not consider conflict if same content

* add more logs to cli writing

* progress

* progress

* iteration

* Add most basic App support

* fix folder frontend bug

* fix folder frontend bug

* init done by default

* sqlx merge

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-21 10:13:21 +01:00
Kai Jellinghaus fc494fbf7f feat(cli): 2-Way sync (#1071)
* Export file type from each file

* Fix example scripts

* Strongly type CLI files

* Allow bash files

* Update API version

* Remove useless files

* WIP: Diff based push

* Fixup other code

* Implement Flow diffing

* Implement resource type

* Remaining impls

* WIP

* Fix missing file error

* Fix misstyping

* Improve error message

* Fix type inferrence

* Allow REMOVE everywhere

* Fix empty changeset

* Fix error message

* Fix type inferrence 2

* Fix variable diffs

* Fix include checks

* Move push & pull

* Handle script in sync

* Handle scripts

* Allow multi-path creation

* Fix merge conflicts

* Fix #1173

* Update Dependencies

* Add missing await

* Apply review comments

* Fix diff

---------

Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
2023-02-03 19:49:46 +01:00
Kai Jellinghaus adf991cd2d feat!(cli): Folders support & Less Tarball nesting (#1040)
* Basic folder support

* Proper Folder Support + deps.ts

* Upgrade Versions

* Add folder meta to tarball

* Remove tarball folders

* Minor fixes

* Fix typo

* Remove extra_perms check

* Use new endpoint

* Use new untar location

* Fix shrinking files
2022-12-23 03:06:12 +01:00
Kai Jellinghaus 31ac1ddf39 feat(cli): improved setup & allow workspace in base url & refactor workspaces/remotes to unify (#966)
* Setup V2 & Allow Workspace in base url

* Handle login conflict information

* Rework workspace & remote logic

* Add login logic

* Add token storage logic

* 🚀 finish refactor

* :Fix Pull

* Remove setup

* Add create-token

* Remove legacy typesc

* Fix change

* Fix warns

* fix warning

* Update README

* Switch to new workspace by default

* Update demo video

* Update Images

* remove duplicate

* Change wording

* Add to main README

* Fix main readme

* Fix videos
2022-12-01 22:56:57 +01:00
Kai Jellinghaus d7757dbe74 feat(cli): Run flows & scripts (#940)
* Enable Script Running from CLI

* Improve Script Logic & Enable Flow run

* Update README

* Fix empty input 415 unsupported media type

* Add flow execution asciicast

* Allow reading inputs

* Add --silent & print result

* Updated syntax

* Update readme

* Fix superadmin users

* Handle values correctly

* Rework input parsing to try-catch JSON

* Accept all input types

* VHS scripts

* Test add Video to Markdown

* Use GIF only

* Final revisions

* I'm not sure why this works but stackoverflow told me
https://stackoverflow.com/questions/4279611/how-to-embed-a-video-into-github-readme-md/4279746#4279746

* Also rename file?

* Use MP4

* Use GIF

* Use MP4 again

* Revert "Use MP4 again"

This reverts commit d3ed4dc28a.
2022-11-25 18:05:23 +01:00
Kai Jellinghaus edb8738cb1 Enable user deletion (#939)
* Update windmill version

* Enable User Deletion
2022-11-23 20:38:27 +01:00
Kai Jellinghaus cd89b15c8f Cli improvements (#850)
* Fix infinite user list

* Remove Description from table
2022-11-01 22:14:46 +01:00
Kai Jellinghaus 28cd0c3fa1 feat: new wmill CLI #831 2022-11-01 15:53:28 +01:00