You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9807c30
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+112-4Lines changed: 112 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,15 +2,15 @@
2
2
3
3
Official command-line interface for Vix.cpp.
4
4
5
-
The Vix CLI provides a modern developer workflow for C++ projects: create, build, run, test, format, manage dependencies, inspect the environment, and package applications.
5
+
The Vix CLI provides a modern developer workflow for C++ projects: create, build, run, test, format, manage dependencies, inspect the environment, package applications, and deploy projects.
6
6
7
7
## Documentation
8
8
9
-
Full documentation is available here:
9
+
Full CLI documentation:
10
10
11
11
https://docs.vixcpp.com/cli/
12
12
13
-
## Main commands
13
+
## Quick start
14
14
15
15
```bash
16
16
vix new app
@@ -19,10 +19,17 @@ vix install
19
19
vix dev
20
20
```
21
21
22
+
Build and run:
23
+
22
24
```bash
23
25
vix build
24
26
vix run
25
-
vix tests
27
+
```
28
+
29
+
Run tests and checks:
30
+
31
+
```bash
32
+
vix test
26
33
vix check
27
34
vix fmt
28
35
```
@@ -35,6 +42,12 @@ Run a single C++ file directly:
35
42
vix run main.cpp
36
43
```
37
44
45
+
You can also run a C++ file directly:
46
+
47
+
```bash
48
+
vix main.cpp
49
+
```
50
+
38
51
## Dependency management
39
52
40
53
```bash
@@ -60,13 +73,107 @@ More information:
60
73
61
74
https://docs.vixcpp.com/cli/info
62
75
76
+
## CLI help
77
+
78
+
```text
79
+
$ vix -h
80
+
81
+
Usage:
82
+
vix <command> [options]
83
+
vix <file.cpp>
84
+
vix help <command>
85
+
86
+
Common commands:
87
+
new <name> Create a new Vix project
88
+
init Initialize the current directory
89
+
add <package> Add a dependency
90
+
install Install project dependencies
91
+
run Build and run a project or C++ file
92
+
dev Start development mode
93
+
build Configure and build
94
+
test Run project tests
95
+
deploy Deploy the application
96
+
97
+
Project:
98
+
make Generate C++ scaffolding
99
+
check Validate a project or source file
100
+
replay Replay a recorded execution
101
+
repl Start the interactive REPL
102
+
task Run project tasks
103
+
fmt Format C++ source files
104
+
clean Remove local build caches
105
+
reset Reset caches and dependencies
106
+
modules Manage optional project modules
107
+
108
+
Applications:
109
+
note Open a Vix Note document
110
+
desktop Run a web application as desktop
111
+
mobile Generate mobile WebView shells
112
+
game Manage Vix game projects
113
+
agent Run the local-first Vix AI agent
114
+
115
+
Production:
116
+
production Show production status
117
+
service Manage the system service
118
+
proxy Manage reverse proxy configuration
119
+
health Check application health
120
+
logs Show application and proxy logs
121
+
env Validate environment variables
122
+
ws Diagnose WebSocket endpoints
123
+
124
+
Dependencies and registry:
125
+
registry Manage the registry index
126
+
search <query> Search registry packages
127
+
list List project dependencies
128
+
remove <package> Remove a dependency
129
+
update Update dependencies
130
+
outdated Check outdated dependencies
131
+
store Manage the local package store
132
+
publish Publish a package version
133
+
unpublish Remove a published version
134
+
135
+
Packaging:
136
+
pack Create a distributable package
137
+
verify Verify package integrity
138
+
cache Cache a package locally
139
+
140
+
Cloud:
141
+
login Connect to Softadastra Cloud
142
+
logout Remove the local cloud session
143
+
cloud Manage Cloud project links
144
+
doctor --cloud Diagnose Cloud connectivity
145
+
146
+
Data and networking:
147
+
db Inspect SQLite databases
148
+
orm Manage database migrations
149
+
p2p Run P2P tools
150
+
151
+
System:
152
+
doctor Check the installation and toolchain
153
+
info Show environment information
154
+
completion Generate shell completions
155
+
upgrade Upgrade the Vix CLI
156
+
uninstall Uninstall the Vix CLI
157
+
158
+
Global options:
159
+
--verbose Enable debug output
160
+
-q, --quiet Only show warnings and errors
161
+
--log-level <level> Set trace, debug, info, warn, error or critical
162
+
-h, --help Show command help
163
+
-v, --version Show the installed version
164
+
165
+
Run 'vix help <command>' for detailed command usage.
0 commit comments