File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11import assert from "node:assert/strict" ;
22import { describe , it } from "node:test" ;
33
4- describe ( "" , ( ) => {
4+ describe ( "build " , ( ) => {
55 it ( "" , ( ) => {
66 assert . equal ( 1 , 1 ) ;
77 } ) ;
Original file line number Diff line number Diff line change 11import assert from "node:assert/strict" ;
22import { describe , it } from "node:test" ;
33
4- describe ( "" , ( ) => {
4+ describe ( "init " , ( ) => {
55 it ( "" , ( ) => {
66 assert . equal ( 1 , 1 ) ;
77 } ) ;
Original file line number Diff line number Diff line change 11import { Command } from "@commander-js/extra-typings" ;
22
3- export const generateCommand = new Command ( "generate " )
3+ export const initCommand = new Command ( "init " )
44 . description ( "Generate the project scaffold" )
55 . argument ( "<name>" , "Type the project name" )
6- . action ( ( str , options ) => {
6+ . action ( ( ) => {
77
88 } )
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ import { Command } from "@commander-js/extra-typings";
22
33import { printBanner } from "./banner.js" ;
44import { buildCommand } from "./build.js" ;
5- import { generateCommand } from "./generate .js" ;
5+ import { initCommand } from "./init .js" ;
66
77export const program = new Command ( "ferric" )
88 . hook ( "preAction" , ( ) => printBanner ( ) )
99 . description ( "Rust Node-API Modules for React Native" )
1010 . addCommand ( buildCommand )
11- . addCommand ( generateCommand ) ;
11+ . addCommand ( initCommand ) ;
You can’t perform that action at this time.
0 commit comments