mirror of
https://github.com/sasjs/core.git
synced 2026-01-21 15:30:05 +00:00
fix: linting
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
@file mm_spkexport.sas
|
||||
@brief Creates an batch spk export command
|
||||
@details Creates a script that will export everything in a metadata folder to
|
||||
@details Creates a script that will export everything in a metadata folder to
|
||||
a specified location.
|
||||
If you have XCMD enabled, then you can use mmx_spkexport (which performs
|
||||
the actual export)
|
||||
@@ -12,7 +12,8 @@
|
||||
Usage:
|
||||
|
||||
%* import the macros (or make them available some other way);
|
||||
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
|
||||
filename mc url
|
||||
"https://raw.githubusercontent.com/sasjs/core/main/all.sas";
|
||||
%inc mc;
|
||||
|
||||
%* create sample text file as input to the macro;
|
||||
@@ -34,7 +35,7 @@
|
||||
|
||||
filename myref "/tmp/mmscript.sh";
|
||||
%mm_spkexport(metaloc=%str(/my/meta/loc)
|
||||
outref=myref
|
||||
outref=myref
|
||||
,cmdoutloc=%str(/tmp)
|
||||
,cmdoutname=mmx
|
||||
)
|
||||
@@ -56,9 +57,9 @@
|
||||
@param secureref= fileref containing the username / password (should point to
|
||||
a file in a secure location). Leave blank to substitute $bash type vars.
|
||||
@param outref= fileref to which to write the command
|
||||
@param cmdoutloc= the directory to which the command will write the SPK
|
||||
@param cmdoutloc= the directory to which the command will write the SPK
|
||||
(default=WORK)
|
||||
@param cmdoutname= the name of the spk / log files to create (will be
|
||||
@param cmdoutname= the name of the spk / log files to create (will be
|
||||
identical just with .spk or .log extension)
|
||||
|
||||
@version 9.4
|
||||
@@ -92,7 +93,8 @@
|
||||
%let port=%sysfunc(getoption(metaport));
|
||||
%let platform_object_path=%mf_loc(POF);
|
||||
|
||||
%let connx_string=%str(-host &host -port &port -user &mmxuser -password &mmxpass);
|
||||
%let connx_string=%str(-host &host -port &port -user &mmxuser %trim(
|
||||
)-password &mmxpass);
|
||||
|
||||
%mm_tree(root=%str(&metaloc) ,types=EXPORTABLE ,outds=exportable)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user