mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-18 16:02:10 +00:00
cdd16195ae
* 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>
22 lines
511 B
TypeScript
22 lines
511 B
TypeScript
// deno-lint-ignore-file no-explicit-any
|
|
import { colors, Command } from "./deps.ts";
|
|
import { GlobalOptions } from "./types.ts";
|
|
|
|
async function stub(
|
|
_opts: GlobalOptions,
|
|
_dir?: string,
|
|
) {
|
|
console.log(
|
|
colors.red.underline(
|
|
'Push is deprecated. Use "sync push --raw" instead. See <TODO_LINK_HERE> for more information.',
|
|
),
|
|
);
|
|
}
|
|
|
|
const command = new Command()
|
|
.description("Push all files from a folder")
|
|
.arguments("[dir:string]")
|
|
.action(stub as any);
|
|
|
|
export default command;
|