Comments (3)
-t
or --target
should definitely be an optional param (leaving it out would take the first target)
I like the suggestion of maintaining the sasjs <action> <verb>
however we shouldn't use fs
as that implies a filesystem change. In this case we are updating the Viya (and in the future, metadata) logical folder tree (doesn't impact any physical directories).
So perhaps:
sasjs folder create /Public/folder
sasjs folder delete /Public/folder
sasjs folder move /Public/source/childFolder /Public/parentTarget
All of which can have an optional -t
parameter
from cli.
We should also provide target to gain an access token:
sasjs createfolder /Public/folder -t target
Suggestion:
sasjs createfolder /Public/folder
--> sasjs fs create /Public/folder -t target
sasjs deletefolder /Public/folder
--> sasjs fs delete /Public/folder -t target
sasjs movefolder /Public/source/childFolder /Public/parentTarget
--> sasjs fs move /Public/source/childFolder /Public/parentTarget -t target
from cli.
The release is available on:
Your semantic-release bot
from cli.
Related Issues (20)
- `sasjs deploy` fails when `appLoc` contains spaces HOT 1
- prevent warning when installing CLI HOT 1
- enable search string on sasjs lint HOT 2
- improvements to `sasjs init` HOT 2
- Friendly message when `webSourcePath` is not defined HOT 1
- fix image rendering in streamed apps on Viya 4 HOT 3
- user name is being used instead of password on deploying to server type sas9 HOT 1
- sasjs request should display proper runner error when runner is missing HOT 1
- breaking change for sasjsBuildFolder and sasjsResultsFolder HOT 3
- `sasjs init` is undocumented
- `sasjsBuildFolder` not being applied in `sasjs c` HOT 1
- streaming apps on sas9 are not working properly
- Hide Lineage tab / link when `enableLineage:false` in `sasjs doc` HOT 1
- Configuration of `sasjsbuildfolder` in global target (`.sasjsrc`) HOT 1
- `sasjs init` doc issues HOT 1
- Throw warning if Binary Files or SAS Includes are found in Macros HOT 3
- document the compile option in run command HOT 1
- publish test coverage HOT 1
- After: npm i @sasjs/cli and npm i @sasjs/cli@latest I'm receiving ERROR when calling sasjs on cmd HOT 3
- Fetch parent session log when job fails without recording log
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.