File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { checkInstalledTools } from "@/lib/setup";
10
10
*
11
11
* Inspect and remedy your local machine for Solana development
12
12
*/
13
- export default function doctorCommand ( ) {
13
+ export function doctorCommand ( ) {
14
14
return new Command ( "doctor" )
15
15
. configureOutput ( cliOutputConfig )
16
16
. description ( "inspect and remedy your local development environment" )
@@ -22,7 +22,7 @@ export default function doctorCommand() {
22
22
*
23
23
* List the current installed versions of Solana development tooling
24
24
*/
25
- export function doctorListCommand ( ) {
25
+ function doctorListCommand ( ) {
26
26
return new Command ( "list" )
27
27
. configureOutput ( cliOutputConfig )
28
28
. description ( "list the current versions of Solana development tooling" )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const toolNames: Array<ToolNames> = [
34
34
*
35
35
* Setup your local machine for Solana development
36
36
*/
37
- export default function installCommand ( ) {
37
+ export function installCommand ( ) {
38
38
return (
39
39
new Command ( "install" )
40
40
. configureOutput ( cliOutputConfig )
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ import { assertRuntimeVersion } from "@/lib/node";
4
4
import { errorMessage } from "@/lib/logs" ;
5
5
import cliProgramRoot from "@/commands" ;
6
6
7
- import installCommand from "@/commands/install" ;
8
- import doctorCommand from "@/commands/doctor" ;
7
+ import { installCommand } from "@/commands/install" ;
8
+ // import { doctorCommand } from "@/commands/doctor";
9
9
10
10
// ensure the user running the cli tool is on a supported javascript runtime version
11
11
assertRuntimeVersion ( ) ;
@@ -14,7 +14,8 @@ async function main() {
14
14
try {
15
15
const program = cliProgramRoot ( ) ;
16
16
17
- program . addCommand ( installCommand ( ) ) . addCommand ( doctorCommand ( ) ) ;
17
+ program . addCommand ( installCommand ( ) ) ;
18
+ // .addCommand(doctorCommand());
18
19
19
20
// set the default action to `help` without an error
20
21
if ( process . argv . length === 2 ) {
You can’t perform that action at this time.
0 commit comments