@fui-org/fui-cli 2.2.2 → 2.2.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.
- package/README.md +19 -0
- package/dist/fui-gt54fgs7.js +402 -0
- package/dist/fui.js +1 -1
- package/package.json +1 -1
- package/skills/fui/SKILL.md +18 -3
- package/skills/fui/references/INDEX.md +8 -6
- package/skills/fui/references/cdn-files.md +30 -0
- package/skills/fui/references/coding-standards.md +2 -2
- package/skills/fui/references/component-design.md +2 -2
- package/skills/fui/references/controls-styling-vocabulary.md +3 -3
- package/skills/fui/references/db-workflow.md +3 -3
- package/skills/fui/references/design-modes.md +1 -1
- package/skills/fui/references/module-structure.md +44 -16
- package/skills/fui/references/permission-system.md +15 -9
- package/skills/fui/references/project-config.md +1 -1
- package/skills/fui/references/project-provisioning.md +129 -218
- package/skills/fui/references/tapi-reference.md +27 -12
- package/skills/fui/references/tools-registry.md +13 -7
- package/skills/fui/references/ui-screenshot-review.md +1 -1
- package/skills/fui/references/verification.md +2 -1
- package/dist/fui-gexr4km5.js +0 -397
package/README.md
CHANGED
|
@@ -86,10 +86,29 @@ fui query "SELECT TOP 5 * FROM tblX" --db my-project/docs
|
|
|
86
86
|
fui schema --search student
|
|
87
87
|
fui sp get spAPI_Student_Select
|
|
88
88
|
fui file status
|
|
89
|
+
fui cdn list -p my-project --recursive
|
|
89
90
|
```
|
|
90
91
|
|
|
91
92
|
`fui <command> --help` shows the options of one command.
|
|
92
93
|
|
|
94
|
+
## Project files on the CDN
|
|
95
|
+
|
|
96
|
+
`fui cdn` manages a project's CKFinder files with the saved `userToken`. It reads the live resource type, allowed extensions and upload limit from CKFinder before uploading. File links use `/_cdn/<project>/...`, so the same relative path works on any domain that serves the project.
|
|
97
|
+
|
|
98
|
+
```bash
|
|
99
|
+
fui cdn info -p my-project
|
|
100
|
+
fui cdn list / -p my-project --recursive
|
|
101
|
+
fui cdn mkdir /images/ -p my-project
|
|
102
|
+
fui cdn upload ./logo.png -p my-project --to /images/
|
|
103
|
+
fui cdn url /images/logo.png -p my-project --origin https://fui.vn
|
|
104
|
+
fui cdn rename /images/logo.png logo-new.png -p my-project
|
|
105
|
+
fui cdn copy /images/logo-new.png --to /archive/ -p my-project
|
|
106
|
+
fui cdn move /images/logo-new.png --to /assets/ -p my-project
|
|
107
|
+
fui cdn download /assets/logo-new.png -o ./logo-new.png -p my-project
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
`fui cdn rm` and `fui cdn rmdir` permanently delete files and folders; both require `--confirm-delete`. A nonempty folder additionally requires `--recursive`. `fui cdn --help` lists the full group. Use `--user-token-from <project/connection>` or `--user-token-env <name>` when the workspace has several distinct tokens for the FUI domain.
|
|
111
|
+
|
|
93
112
|
## Workspace location
|
|
94
113
|
|
|
95
114
|
`fui` keeps projects in `~/.fui/workspaces`. To use another folder:
|