mirror of
https://github.com/SrIzan10/sern-cli.git
synced 2026-05-01 11:05:17 +00:00
chore: cmon github bruh
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { pluginsQ } from '../prompts/plugin.js';
|
||||
import { greenBright } from 'colorette';
|
||||
import fs from 'fs';
|
||||
import prompt from 'prompts';
|
||||
import { fetch } from 'undici';
|
||||
import fs from 'fs';
|
||||
import { greenBright } from 'colorette';
|
||||
import { pluginsQ } from '../prompts/plugin.js';
|
||||
import { fromCwd } from '../utilities/fromCwd.js';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
import { init } from './commands/init.js';
|
||||
import { help } from './commands/help.js';
|
||||
import { extra } from './commands/extra.js';
|
||||
import { help } from './commands/help.js';
|
||||
import { init } from './commands/init.js';
|
||||
|
||||
import { Command } from 'commander';
|
||||
import { version } from './utilities/version.js';
|
||||
import { plugins } from './commands/plugins.js';
|
||||
import { version } from './utilities/version.js';
|
||||
export const program = new Command();
|
||||
|
||||
program
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { URL, fileURLToPath } from 'url';
|
||||
import { resolve, dirname } from 'node:path';
|
||||
import { readFile, mkdir, writeFile } from 'fs/promises';
|
||||
import { mkdir, readFile, writeFile } from 'fs/promises';
|
||||
import { dirname, resolve } from 'node:path';
|
||||
import { fileURLToPath, URL } from 'url';
|
||||
const root = new URL('../../', import.meta.url);
|
||||
|
||||
const templates = new URL('./templates/', root);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { readFile, rename, writeFile } from 'node:fs/promises';
|
||||
import { findUp } from 'find-up';
|
||||
import { readFile, rename, writeFile } from 'node:fs/promises';
|
||||
import { fromCwd } from './fromCwd.js';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user