blob: d34a220797ee1529d02553d60eaa3c98361844ad [file] [log] [blame]
Simon Glassa0874dc2023-06-01 10:23:02 -06001.. SPDX-License-Identifier: GPL-2.0+:
2
3cedit command
4=============
5
6Synopis
7-------
8
9::
10
11 cedit load <interface> <dev[:part]> <filename>
12 cedit run
13
14Description
15-----------
16
17The *cedit* command is used to load a configuration-editor description and allow
18the user to interact with it.
19
20It makes use of the expo subsystem.
21
22The description is in the form of a devicetree file, as documented at
23:ref:`expo_format`.
24
Simon Glassc5aacf52023-08-14 16:40:29 -060025See :doc:`../../develop/cedit` for information about the configuration editor.
26
Simon Glassd65ccbb2023-08-14 16:40:31 -060027cedit load
28~~~~~~~~~~
29
30Loads a configuration-editor description from a file. It creates a new cedit
31structure ready for use. Initially no settings are read, so default values are
32used for each object.
33
34cedit run
35~~~~~~~~~
36
37Runs the default configuration-editor event loop. This is very simple, just
38accepting character input and moving through the objects under user control.
39The implementation is at `cedit_run()`.
40
41
Simon Glassa0874dc2023-06-01 10:23:02 -060042Example
43-------
44
45::
46
47 => cedit load hostfs - fred.dtb
48 => cedit run