remove default start and just document using lfg

This commit is contained in:
Pablo Fernandez 2024-01-31 13:45:23 +00:00
parent 0a130089bf
commit 64a41e98ab
2 changed files with 3 additions and 12 deletions

View File

@ -8,7 +8,7 @@ To quickly install `nsecbunkerd` via Docker just run:
### Configurations
- Prepare your config directory
```shell
mkdir $HOME/.nsecbunker-config
```
@ -105,7 +105,7 @@ You will need this to manage users of your keys.
## Start
```bash
$ npm run nsecbunkerd start
$ npm run lfg --admin <your-admin-npub>
```
## Testing with `nsecbunker-client`

View File

@ -65,14 +65,5 @@ const argv = yargs(hideBin(process.argv))
default: 'config/nsecbunker.json',
},
})
.demandCommand(0, 1)
.parse();
// Check if a command is provided, if not, default to 'start'
if (!argv._[0]) {
start({
keys: [],
verbose: false,
config: argv.config as string,
adminNpubs: adminNpubs
});
}