Skip to content

Commit

Permalink
flag as experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
tasshi-me committed Oct 24, 2024
1 parent bbf655f commit 4a57cd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/cli/plugin/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
import type { CommandModule } from "yargs";
import type yargs from "yargs";
import { packCommand } from "./pack";
import { emitExperimentalWarning } from "../../utils/stability";

const command = "plugin";

const describe = "Operate kintone plugin";
const describe = "[Experimental] Commands for kintone plugin";

const builder = (args: yargs.Argv) => args.command(packCommand).demandCommand();

const handler = () => {
emitExperimentalWarning("This feature is under early development");
/** noop **/
};

Expand Down
4 changes: 3 additions & 1 deletion src/cli/plugin/pack.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import type yargs from "yargs";
import type { CommandModule } from "yargs";
import cli from "../../plugin/packer/cli";
import { emitExperimentalWarning } from "../../utils/stability";

const command = "pack";

const describe = "export the records of the specified app";
const describe = "[Experimental] Packaging plugin project to a zip file";

const builder = (args: yargs.Argv) =>
args
Expand Down Expand Up @@ -38,6 +39,7 @@ type Args = yargs.Arguments<
>;

const handler = async (args: Args) => {
emitExperimentalWarning("This feature is under early development");
const flags = {
ppk: args["private-key"],
out: args.out,
Expand Down

0 comments on commit 4a57cd7

Please sign in to comment.