File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1717
1818const cli = require ( "cli" ) ;
1919const package = require ( "./package.json" ) ;
20+
21+ const terms = {
22+ use : "https://www.adobe.com/legal/terms.html" ,
23+ dev : "http://www.adobe.com/go/developer-terms"
24+ } ;
25+
2026const sampleDirs = require ( "./commands/bootstrap" ) . sampleDirs ;
2127const sampleTypes = Object . keys ( sampleDirs )
2228 . filter ( el => el !== "default" )
@@ -60,9 +66,9 @@ if (parsedOpts.json) {
6066 cli . status = function ( ) { } ;
6167} else {
6268 cli . info ( `xdpm ${ package . version } - XD Plugin Manager CLI` ) ;
63- cli . info ( `Use of this tool means you agree to the Adobe Terms of Use at
64- https://www.adobe.com/legal/terms.html and the Developer Additional
65- Terms at https://wwwimages2.adobe.com/content/dam/acom/en/legal/servicetou/Adobe-Developer-Additional-Terms_en_US_20180605_2200.pdf. ` ) ;
69+ cli . info ( `Use of this tool means you agree to:
70+ - the Adobe Terms of Use at ${ terms . use }
71+ - the Developer Additional Terms at ${ terms . dev } `) ;
6672}
6773
6874const { command, args } = cli ;
You can’t perform that action at this time.
0 commit comments