8888** Step 2: Generate configuration with defaults**
8989
9090``` bash
91- rkconf saveconfig
91+ xconf saveconfig
9292# Creates .config, auto.conf, and autoconf.h
9393```
9494
@@ -106,7 +106,7 @@ cat .config
106106
107107``` bash
108108# You added new options to Kconfig...
109- rkconf oldconfig
109+ xconf oldconfig
110110
111111# Output:
112112# 🆕 New configuration options detected:
@@ -117,7 +117,7 @@ rkconf oldconfig
117117
118118With auto-defaults:
119119``` bash
120- rkconf oldconfig --auto-defaults
120+ xconf oldconfig --auto-defaults
121121# Automatically applies default values to new options
122122```
123123
@@ -132,7 +132,7 @@ use std::fs;
132132fn main () {
133133 // Read the generated configuration
134134 let config = fs :: read_to_string (" .config" )
135- . expect (" Run 'rkconf saveconfig' first" );
135+ . expect (" Run 'xconf saveconfig' first" );
136136
137137 for line in config . lines () {
138138 let line = line . trim ();
@@ -198,11 +198,11 @@ fn main() {
198198
199199## 📚 Commands Reference
200200
201- ### ` rkconf saveconfig`
201+ ### ` xconf saveconfig`
202202Generate configuration files with default values from Kconfig.
203203
204204``` bash
205- rkconf saveconfig [OPTIONS]
205+ xconf saveconfig [OPTIONS]
206206
207207Options:
208208 -o, --output < FILE> Output .config path [default: .config]
@@ -212,14 +212,14 @@ Options:
212212
213213** Example:**
214214``` bash
215- rkconf saveconfig --output my.config --kconfig MyKconfig
215+ xconf saveconfig --output my.config --kconfig MyKconfig
216216```
217217
218- ### ` rkconf oldconfig`
218+ ### ` xconf oldconfig`
219219Update existing configuration when Kconfig changes.
220220
221221``` bash
222- rkconf oldconfig [OPTIONS]
222+ xconf oldconfig [OPTIONS]
223223
224224Options:
225225 -c, --config < FILE> Input .config file [default: .config]
@@ -237,17 +237,17 @@ Options:
237237** Example:**
238238``` bash
239239# Interactive mode (prompts for new options)
240- rkconf oldconfig
240+ xconf oldconfig
241241
242242# Automatic mode (uses defaults for new options)
243- rkconf oldconfig --auto-defaults
243+ xconf oldconfig --auto-defaults
244244```
245245
246- ### ` rkconf generate`
246+ ### ` xconf generate`
247247Generate auto.conf and autoconf.h from existing .config.
248248
249249``` bash
250- rkconf generate [OPTIONS]
250+ xconf generate [OPTIONS]
251251
252252Options:
253253 -c, --config < FILE> Input .config file [default: .config]
@@ -257,14 +257,14 @@ Options:
257257
258258** Example:**
259259``` bash
260- rkconf generate --config production.config
260+ xconf generate --config production.config
261261```
262262
263- ### ` rkconf parse`
263+ ### ` xconf parse`
264264Parse and validate Kconfig syntax (debugging tool).
265265
266266``` bash
267- rkconf parse [OPTIONS]
267+ xconf parse [OPTIONS]
268268
269269Options:
270270 -k, --kconfig < FILE> Kconfig file path [default: Kconfig]
@@ -273,14 +273,14 @@ Options:
273273
274274** Example:**
275275``` bash
276- rkconf parse --kconfig Kconfig
276+ xconf parse --kconfig Kconfig
277277```
278278
279- ### ` rkconf menuconfig`
279+ ### ` xconf menuconfig`
280280Interactive terminal UI for configuration.
281281
282282``` bash
283- rkconf menuconfig [OPTIONS]
283+ xconf menuconfig [OPTIONS]
284284
285285Options:
286286 -k, --kconfig < FILE> Kconfig file path [default: Kconfig]
@@ -298,11 +298,11 @@ Options:
298298
299299See [ MENUCONFIG_GUIDE.md] ( MENUCONFIG_GUIDE.md ) for detailed usage.
300300
301- ### ` rkconf defconfig` * (Coming Soon)*
301+ ### ` xconf defconfig` * (Coming Soon)*
302302Apply a defconfig file.
303303
304304``` bash
305- rkconf defconfig < DEFCONFIG_FILE> [OPTIONS]
305+ xconf defconfig < DEFCONFIG_FILE> [OPTIONS]
306306
307307Options:
308308 -k, --kconfig < FILE> Kconfig file path [default: Kconfig]
@@ -367,7 +367,7 @@ examples/sample_project/
367367** Try it:**
368368``` bash
369369cd examples/sample_project
370- rkconf saveconfig
370+ xconf saveconfig
371371cat .config
372372```
373373
0 commit comments