diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..c5c462a Binary files /dev/null and b/.DS_Store differ diff --git a/.agents/.DS_Store b/.agents/.DS_Store new file mode 100644 index 0000000..fe13dfc Binary files /dev/null and b/.agents/.DS_Store differ diff --git a/.agents/skills/.DS_Store b/.agents/skills/.DS_Store new file mode 100644 index 0000000..87e37d1 Binary files /dev/null and b/.agents/skills/.DS_Store differ diff --git a/package-lock.json b/package-lock.json index 613f45f..f2d576e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bool-cli", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bool-cli", - "version": "0.1.0", + "version": "0.2.0", "dependencies": { "chalk": "^5.3.0", "cli-table3": "^0.6.5", diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000..6f6d137 Binary files /dev/null and b/src/.DS_Store differ diff --git a/src/commands/bools.js b/src/commands/bools.js index 78c425d..3dbcde6 100644 --- a/src/commands/bools.js +++ b/src/commands/bools.js @@ -73,6 +73,10 @@ async function createBool(name, asJson) { if (asJson) return printJson(data); success(`Created "${data.name}" (${data.slug})`); info(`URL: ${data.url}`); + + // Write .bool/config so subsequent commands (deploy, show, etc.) + // automatically target this Bool without needing the slug explicitly. + writeProjectConfig(process.cwd(), { slug: data.slug, name: data.name }); } async function showBool(slugArg, asJson) {