mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-15 16:03:02 +00:00
20 lines
573 B
TypeScript
20 lines
573 B
TypeScript
import { colors } from "@cliffy/ansi/colors";
|
|
import { Command } from "@cliffy/command";
|
|
import * as log from "../../core/log.ts";
|
|
import { GlobalOptions } from "../../types.ts";
|
|
|
|
function stub(_opts: GlobalOptions, _dir?: string) {
|
|
log.info(
|
|
colors.red.underline(
|
|
'Push is deprecated. Use "sync push --raw" instead. See https://www.windmill.dev/docs/advanced/cli/sync for more information.'
|
|
)
|
|
);
|
|
}
|
|
|
|
const command = new Command()
|
|
.description("Push all files from a folder")
|
|
.arguments("[dir:string]")
|
|
.action(stub as any);
|
|
|
|
export default command;
|