contextswitch 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +10 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -21,7 +21,7 @@ function getVersion() {
21
21
  const packageJson = JSON.parse(readFileSync(packagePath, "utf-8"));
22
22
  return packageJson.version;
23
23
  } catch {
24
- return "0.1.3";
24
+ return "0.1.4";
25
25
  }
26
26
  }
27
27
  function processSessionFallbackMarker() {
@@ -54,7 +54,15 @@ function processSessionFallbackMarker() {
54
54
  }
55
55
  }
56
56
  var program = new Command();
57
- program.name("cs").description("Domain-based context management for Claude Code CLI - Each domain represents a project with its own working directory and configuration").version(getVersion()).hook("preAction", () => {
57
+ program.name("cs").description("Domain-based context management for Claude Code CLI - Each domain represents a project with its own working directory and configuration").version(getVersion()).addHelpText("after", `
58
+ Quick Start:
59
+ cs init Initialize ContextSwitch
60
+ cs domain add myproject -w /path/to/project Create a domain with a working directory
61
+ cs switch myproject Switch to the domain (launches Claude)
62
+ cs list See all your domains
63
+
64
+ The --working-dir (-w) flag sets where Claude will run. If omitted, the current directory is used.
65
+ Run "cs domain add --help" for more details.`).hook("preAction", () => {
58
66
  paths.ensureDirectories();
59
67
  processSessionFallbackMarker();
60
68
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "contextswitch",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Domain-based context management for Claude Code CLI",
5
5
  "main": "dist/cli.js",
6
6
  "type": "module",