Skip to content

Instantly share code, notes, and snippets.

View linbudu599's full-sized avatar
🍀
Enjoy Learning and Loving

Linbudu linbudu599

🍀
Enjoy Learning and Loving
View GitHub Profile
import { t } from 'elysia';
type Simplify<T> = {
[K in keyof T]: T[K] extends object ? Simplify<T[K]> : T[K];
} & {};
type UnwrapSchemaType<T extends ReturnType<typeof t.Object>> = Simplify<
T['static']
>;
import { Cli, Command, Validator, OptionFactory } from "mustard-cli";
import { RegisterCommand, Option, Options, Input } from "mustard-cli/decorators";
import { PackageManager } from "mustard-cli/types";
const cli = Cli();
interface ICoreOptions {
name: string;
sayHi: boolean;
}
import { Cli, Command } from 'mustard-cli';
import { Register, Context, Options } from 'mustard-cli/decorators'
import { PackageManager } from 'mustard-cli/types'
const cli = Cli();
interface ICoreOptions {
name: string;
sayHi: boolean;
}
import { Cli, Command } from 'mustard-cli';
import { Register, Context, Options } from 'mustard-cli/decorators'
import { PackageManager } from 'mustard-cli/types'
const cli = Cli();
interface ICoreOptions {
name: string;
sayHi: boolean;
}
- 不要标榜自己的能力
- 不要寻找借口
- 不要忘记为何出发