chore: use more conventional XDG_CONFIG_HOME for config
This commit is contained in:
@@ -11,7 +11,7 @@ export function onboardCommand(program: Command): void {
|
||||
.description('Initialize a new nanobot workspace with config and templates')
|
||||
.action(async (rawPath?: string) => {
|
||||
try {
|
||||
const targetPath = resolvePath(rawPath ?? '~/.nanobot');
|
||||
const targetPath = resolvePath(rawPath ?? '~/.config/nanobot');
|
||||
const configPath = join(targetPath, 'config.json');
|
||||
|
||||
console.info(pc.blue('Initializing nanobot workspace...'));
|
||||
|
||||
Reference in New Issue
Block a user