{"_id":"@sassoftware/viyacaddy","_rev":"78-7f2666f59d354ee8781ac2baf1b0aafc","name":"@sassoftware/viyacaddy","dist-tags":{"prod":"2.1.0","wp1":"3.2.5","next":"3.3.0","latest":"3.5.0","test":"3.5.0"},"versions":{"1.7.5":{"name":"@sassoftware/viyacaddy","version":"1.7.5","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@1.7.5","maintainers":[{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"4d13df28d123be83fa6beefc17af21319b41334a","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-1.7.5.tgz","fileCount":13,"integrity":"sha512-Hhw92+KD4S/4GED85sCc4zWtAYhqSrJDDwZQG5andAaM2FFmnVLnpRADm7B1J3zWcpw1m0qzqBdXrYW8Sf7pdw==","signatures":[{"sig":"MEUCIFE4Jfss+gAhq2GxfQGJ/V7fhq5LROjOElW6HYJ3ItdFAiEA21LdQp9Pk93D0MSeS/ukRBboDRcpHctaFDI2bqKE2Mg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18414,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDqWnCRA9TVsSAnZWagAAQcgP+QADy0xgmumCBbGBUCiB\nlMz5ezwwRq+BDPqB0XPbdXWcyDH/nT/g30lbLWNpZ5yF9RjazF2ps3YdvpkC\ngjHFovEQG97YL9SkvzVoXrgdTUYfHrM/Wg5uRfzq/rWoxCvdAuBL6h+m9ZrW\nwf+Aa2LiYBNKdjNRlvuJnuouqu3DLllaIdHsRq4nL7v/zXA/FFII9pai+ax7\nFUnuXLWdbTZk8dhiR397MEnIVYRwijgenHw5ta+8+thhbyVOYpSRusTtKw+d\nGIa3uS8TjQ7Yj9URrU0Rqa5NDjoQDmmoc4uyr6E0PThYylkdgqk4V26G1neP\nlfu7c1m8j9ONWiuK0k3kybs5gaheo+uFvH7Cnj+hmk9UHnpOfV/vV4vJZSkW\nEvnKLlJ2A/wGrWGmwgIOO3uvvbbD5NCAXQndSLMbo+rC6Wn9Fx5U17P+An1l\nS629O1sHhGIe49LGGAVmV6qs7UellyJlslGqV+13XsvG2ovXL9B9WXQXAuv4\ndkW/PD1rerIJrCQ5XqfOGYvsmZsN3SnfKBEbYqypHVayaW3SaMkDSe1LauWA\nHNBdGmJXexpeMfdjXcwGh6I7zVyL36eEn7ftwE1rEpe7Hx9vDc3t0Wu+RA1q\nLS+XWChkgDJ1wzW+2eShg0g/rppPABzrAOcVMDu40kjqiEeJyqGn6XOIR55u\nluHQ\r\n=t4yP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"1.7.5","@sassoftware/restaflib":"1.7.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_1.7.5_1578018214788_0.4293690526293392","host":"s3://npm-registry-packages"}},"1.7.6":{"name":"@sassoftware/viyacaddy","version":"1.7.6","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@1.7.6","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"b14b7da62d8bc897d4ba61fcbf6d097d45126aac","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-1.7.6.tgz","fileCount":13,"integrity":"sha512-S0xstSHfQzhyyCKiTpgcPuVyVelb92G5v6Mczyyyi20aUuag3J/DSaDT7r1BITb9Zj+mHycE3kcI0RqGIa513g==","signatures":[{"sig":"MEQCIAmAy9d3hyc+POYZXCRHZ9e/RHT3u3M0rkgfp5Lv5lNEAiAhvn4ACf5hzgW24+vDKOkyj1VRuw/PqNqJmF8k446x8g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeELcjCRA9TVsSAnZWagAArmkP/2FGNqoaWrUtOT4QDLfz\nZiRu/JlIH1CcD8qxZkEDJNE1xbQgRjvWVYgETDH/Jj8nVHPj24kMat4TqLmU\nIs+RzdHqP4fWVK6bosNOTy/+9O226ZmP3yZ1BhvFdmHeDUXzXJJ94Ohn4LsZ\nlXiIA3OrL+cjQRjPRNdzuVbV4n0iG9eyeVxZxQ9BKuMY5cpwW5Ryrz8Os7c6\njNE/s/2EQNHYeJB5ti8CWuh5FghxP9+An6ElFw0FlsFUlc9srzfqjnVzMAzL\nZntZ37PGJ6oFYtOHILbpVzx55LMZ1S1YmAh58NJ5Dadg86FUtVCo6nx65oLZ\n+bcOX4O0fHdrUQ0kcMILeVBaoHmlAIff45sLXl0uL6zLJOqfjbYNyuqnGRkA\nPmdmtCLEPU2LiYUujeVNpkj6/thYdzRlGy5GQDVXPmws2pC0Ou6mCgG7PXpO\n0jwYyv634NI5Gtfudjs1wLUQqok0SSG+1JSOV619nduBH1L+kS0yT4rhUJFV\nhEnMRCgZ3No2Hl1jydVyqfU7KeXlWVC5QIB1ZBVQMlSiO8RG1ULYU5AZHZms\nvCb87Qx5FqtaUHhkq0UjrF7NEjopzsCz3teJMXxuQxnKFzZiibHAdjiYRbWb\ntGGllIErDGeD6AQ2SBy9DL8sx9mAHqYy7SREuvPXZxwZlZD2vQbIh+wuMqia\nyQY0\r\n=ILHn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"1.7.6","@sassoftware/restaflib":"1.7.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_1.7.6_1578153763560_0.023145924666881257","host":"s3://npm-registry-packages"}},"1.7.7":{"name":"@sassoftware/viyacaddy","version":"1.7.7","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@1.7.7","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"be73915cd85c8f275aa1047aa6f17e2ed342e65a","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-1.7.7.tgz","fileCount":14,"integrity":"sha512-4jV8tqVzFSza8hrS5CG5ViLQ8DaDZ63iARLsvlSopDiVFbEWGnyNW0Rw/TBLVD3fds8r7NoFz6zYllswh9efEg==","signatures":[{"sig":"MEUCIQD4wAll7DdMLCepB3Y9qOdahrLj3pbrYs71vWm6cguA/wIgO1zP3UfKdiZFNNh/FKGZH/3LP8c3z+rxExG5VoqCvc0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20260,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeEp/HCRA9TVsSAnZWagAALScQAIAA1IBI+/NthRKI8vF+\nplmoOo6fYrpmAlc4DfdL2zXoaUikd8Ts4APk1LldV8dGHHa+NdqlSQhZ2VQz\nXq/mPlfrajZNkdcK7JEeXRdUnoGSZ1szpwGylIVW7weZL6ouL1Ke8PJ8FQ2s\nVIYJ0oFNBdZFIbPcJgzEMWEDSAh7KtBkCG0Nd6K0ypP0kZc+/4wzEkykM8l9\nI94A5RTu6U0shKQQevjyN9GbCjjvLIq7NcEnOMpwm5ue/SNXxYPY4fXoxF3c\nw0Y0t9WBfntEux1tiasL4YxpolmlNtbwqB5hCZvt3PnydQO1uMx5OAa82jTa\nzeie9ogCJTmu0eMIVqAJMhtQAvs69Oy+WmYuDeQ+0dUMyfGa3btnP/TXjEhU\nz6HizgGNtRlibRMwKV6EK/vtj5z8UPm6q3Za19/3JMSAwWzp5i69FrPp4g1m\nScQZpg1T0cLTfX0dGm3AumCzYS5ea7lejTwSWYD323WzbaKfA4YkZwjQAoOL\nkHtmYq5ae6zq+zkjYAm1WvDzjLMxS42Wte6f12Slcm/vOvFSNUyrB/TtQ9+F\nNiuHWoWaReDrVWLTCBd3Ib+uRHgQJp0aYVdPU/leUvbllpZwCGviwybTehFI\n9vUPvkRyYNEBv6kCACc/0ntTxXQU/0qBzTtA2gJYcovPoClpDfgZPrk56B5Z\nOkFn\r\n=6Cw2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"1.7.7","@sassoftware/restaflib":"1.7.7"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_1.7.7_1578278855455_0.7343699020629664","host":"s3://npm-registry-packages"}},"1.7.8":{"name":"@sassoftware/viyacaddy","version":"1.7.8","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@1.7.8","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"990dbe6fbe534d5fbd048c3b2c3e02e0524c00b8","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-1.7.8.tgz","fileCount":14,"integrity":"sha512-uZ5yydobjzL3AQhsxnq0FZr7hOwGoi7Ces5UmeEuOtBNJEdlLlxhylvK20JCpcM/+nqy05KAQy6t0/l5WW1T8Q==","signatures":[{"sig":"MEQCIFARHzJhw5L/dPco7ttZrrYSQV6MpHTS257kVkkgVHR4AiA2ZCUI6EsWnfgF5Zzs1/ljaPi/busjMlJgttvYGBH6dw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19744,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFItOCRA9TVsSAnZWagAAOJQP/R20zcmY6By1hQMp7K25\nhpL69RMo1DSDW0jcVFEoCCjEdXvk/Y40jR7r4H/++xeOA1/jnP1Rea/XfUD3\nWWiPtGtiZKbeXQDXxpAcEb6O68FLYezkldGjwHGzhUmDdfeVSNuircFYZ4/A\nCi7662VHrenFdNOdyfYAUAe2sHZ1majX2niGH5pj4MM1xfWuCatHwlIdMjoi\nZN2tE3eRu2Qsqp12d5nci/xv41KnJPH9INbp1CW6k0vzCWlFiwqRvlAUbUMU\nzTOiDCN5o/DVVAS2QjqEdeyE5i5/X4bdFt/CD/tdWHsoVtk8dcOoCsmaQB6o\nu3b1OgqX5LS15KaRtyo18PC2fxpGjYN0HhDiw1m648E2A357cbKgHvbgWLMr\nFm/ocSxJPvTHk9UTxnz0VZxYjKgsNZly/WSA11zKLkLFON63g2nZJnzMSDIL\nRTs5OP1Gq8xsU4aFqBY6axVoQqckYL+8JZ00qiapih3yfHHMnzsfqN2KAC1S\nyBnTOvjFE4q6pwKO9n4v3Sm+yUoin9ZM0GmXvpmG7W/X7MNl2T8VTK7C6g/R\ng98c47wfn08mgKSm3TTOaEwylQqJPXndens0kkgWymzGEHEHVeJOM5+yrffm\nRYbDiAbLq4S/NMT8Ot4kLTmoxfzUYLNXGjiDMw0PgNmfchlzF2AgD2lP0gTC\n8MN1\r\n=Kqpp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"1.7.8","@sassoftware/restaflib":"1.7.8"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_1.7.8_1578404686032_0.7260099683820487","host":"s3://npm-registry-packages"}},"1.7.9":{"name":"@sassoftware/viyacaddy","version":"1.7.9","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@1.7.9","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"fd1a37c78087f3fd504df5de64621675595ff177","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-1.7.9.tgz","fileCount":14,"integrity":"sha512-yqUQ/i0KjfdR0jU+UwuCiwlQGe7DEDpmFu1Zve3mr8hA0LraPQPbRn0MYfY//SEOnrkA8LMNTUrupHYYd+WNIw==","signatures":[{"sig":"MEQCIGXmdo9OhkBVF27tuA6iwt3/8ShvLNVStUkm8pKXD5VqAiAS/jCboofcqoYNtlH6xgm/KYz2JvkJuF7UeyQGLlGMPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19786,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFOwaCRA9TVsSAnZWagAATfIP/1RO738q4rs1H7ztUsxT\n9TJaxktdBEf8gon3quASlYzerdvIu1BeNYqO7ntfhzR039T9ccLP4Nsyy40g\nbBcunOIBkypGToeraCQOc7argIARkxrMEBrL4vha4CqoRl+ajXNCpKujlCCB\nXmmT5F/1TBrcDm0bkc+LISrx/5Py808LaiCiYTVU/lFoaQK2xD/eUxWy6R8p\nwK0Wu2L9Bd9yDj3FxJP6hOWYlCWZp6XbIZSvBMrgsm0X7Kg6YtLvWRlTrtsm\nELKisTA0zfMFLs4xaRcWe71PP48mX9Ynh6T7gYoH10dLhihSztxcJ1JELgck\nWjPBhnzBurXSUpsEdQMIoS287VSUlxpI750vFBlN9cHzTkgfuohdy45FUVUM\nsZaNMT8G6f9uGIMSBGqBNdcuFHBlKmcjiaxhysKtTEOY5N8UjMCaDNdJ2Jo+\nd4pSoDdDmMZt0DtFSGDptTQIudEkG3NwvvlEzpX1ZHgu5vfShbqtO3qRjW8t\nN3WjiSb8Aa5VK3yKerVbCtvs5TntGxHqs4kwxCRzSkf/fj6FZ4lRG9H892BL\nXu9uMRpPn8srzRKm3gol6FTZPmi7IVrOF990SaV6aYs9DmbwcCo1WszllPtC\nAPwTCwrnu+nDWVOCnp6l99v9Azfo5vZ6NUsJBK8/pFptG5JNdlybEF5hbZzO\nD8+0\r\n=hiNU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"1.7.9","@sassoftware/restaflib":"1.7.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_1.7.9_1578429465830_0.6403862659080077","host":"s3://npm-registry-packages"}},"1.7.10":{"name":"@sassoftware/viyacaddy","version":"1.7.10","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@1.7.10","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"75bc948fb21cd464c8f0d4f73b897eadeb16c930","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-1.7.10.tgz","fileCount":14,"integrity":"sha512-zAg5XVbcxz2mYSuKHNqGUKkgZieGpvZeve7/L2X53yG9d0ipan6iwvYXTQamoMqnoQXqIa4yCGlNO2Ca47Kv/g==","signatures":[{"sig":"MEUCIQDBW5gJtKiORni09SDeQdNobUbrXLIpirEHYYbTlqSwsAIgIa+tqBLsq4quDeSZFwjYSpoNJrSQ3E1llPaEwLALDhI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKHrECRA9TVsSAnZWagAAWKQP/2InT7JtqyMPdoF0MMQP\nuX75AUTMiRwwt7GoWnTRnz4zPfcBPNNz/McM8NIZlJ3mE0oYeKjPMN271ZTr\nnOZEG3yjAmUMAdRYasrHi8Ms09YWg1mJ4IMF4FU0Bo1+p/0fcDjgWwF/y/MQ\ntwGBolzHVe9pHOOiyxvKgyaVSJJY2g62F/maKv+NUeu+9huHY+2+kLtqlnX+\nwDlPZIG/uExEwu3JR6UBzcRNl8fc8B5Zn6SnUOVCKAAqyscS/eRH40hmbRNe\nbScF81p+FB4f/OzjbUgmWNECg/Jewxn9q2HoTyYzfNLmXsKlC0rZJpesBs4a\nNFgxmR9zS0Kxkk4W4j1RmHETb9Fd+gwUy8NwWDiD9VqvSRNd7xt/c+d+egN1\nKQHiQj+lsYbzsAvOUr0EmMREVuGxR7iquBIoKW5mNBMp1u9V6/YhqFjfSPj6\nlYv1W3eXMCkXC9OrOIGOLqXhT+PVfXIPtJiR2GIdbIe5s0GkIk8BJjnIXS0A\nRdlEwS1Q/Fp8j4OpiZWQjL0zbe/6fu8RWkpw7DA1Oja53711qXxGpNYeW0HZ\nWm3pS8xGTw2iNus4+8zZ/mvlhlLgMKHPRhENdB7S9Q1kmI0T/s7T147ZRQRA\nTunlCmEfxxc3A9vu64FiIqRhKTHQjtPYeQn/aLsM4cxP07X8nu0UgR/iwnVz\nk3nD\r\n=9YaP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"1.7.10","@sassoftware/restaflib":"1.7.10"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_1.7.10_1579711172000_0.692288777865314","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@sassoftware/viyacaddy","version":"2.0.0","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.0","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"2f45047e2563dfa2803dd5330f880b81a444f7c6","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.0.tgz","fileCount":10,"integrity":"sha512-hTHaUUuUVFCML3KQlWxr0da4mHpFqr8/v2Zx04tMcaZ1HU8J2sOey6vMZztpEdMQWPSroPnm6rvcnYLRzXntHQ==","signatures":[{"sig":"MEQCIGpae8ClyKQMFxWGve90r/CygXaN6VDZVfVO+LqpYdSbAiAEbTB+VStrsPDdahUDcCMycnY1bHYn9HhxTsRioJJ0oQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11365,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejMtjCRA9TVsSAnZWagAAWf4P/3qD9AJ5tAWpHUOxsHi9\nPP8yfjRHoCT9Q8D2xdDfJ2jhYuPJElYs3eNKEbyqbyC8Jobn8sq/adscxbpO\nxWze1Shsx60iRmlSp7Z1pOAE442Ua6g3NRFwADgEvNw83rAl9dktw6aeeIs3\n0ziMgvImpI+DD6j/kGXUz7vX/a0QpwYhbq5PzRJDvJo1cuQmihOx1gj08CgE\nwhHZapELL/xy1om5/Vq6k0LIMc8aDH25hjaAOUyIcbP6+A0kVFVbzsJLIRvN\n+B3Fok0aH5ei7D4A6d104TxkeXXA816OzPoYMsJHc/TrSwwtZes4rNlSayCg\nF+BAXo5aZgljN7NgKhRHQ8YvYlsreyIZGAaeETp+0mQdEK8FBlERT+zLFfyr\nnXHBzM8omL8B5zv3sWc5OId5VMgqKKaremASx/Kue6jfIyEgJHdnEJGg7jzr\nUW0l3su1XZVNJRM0e9HFbKqtNGGb2uunoHLYBPI6bucn8tZy27l6R9zpr9X2\nwgdLKY0RMm/xTch1ev4iOG5SQU222lS4NC0ylidK86G9VwYY08QDypgBWiEZ\n77vzRM6x3TddbWG1su7YC4XDDt3bVrQKg1Gz8NDhtZZIwA+775Txjtjkr4vB\nu4QCgfdqKyJbN8UwHM5uK0GhUiFewubGp3VkpjbCqS2u2JZjeTiV/DkpBBmr\nAdSL\r\n=FnTZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"# viyacaddy\r\n\r\nAn utility cli for some common scenarios when setting up a Viya Server\r\n\r\n## Usage\r\n\r\n```script\r\n\r\nFrom the root directory of the repo:\r\n\r\nnpm run viyacaddy\r\n\r\n\r\nFrom the packages/viyacaddy\r\n\r\nnpm start\r\n\r\n```\r\n\r\nFor batch mode enter\r\n\r\n```script\r\n\r\nviyacaddy --file cmdfile\r\n\r\n```\r\n\r\n## Current commands\r\n\r\n- upload --file input-file --output caslib.name\r\n- logon\r\n\r\nExamples\r\n\r\n```script\r\n\r\nupload --file ./data/Cluster_SDOH1.sas --output public.MODEL_CLUSTER_SDOH1\r\nupload --file ./data/Cluster_SDOH6.sas --output public.MODEL_CLUSTER_SDOH6\r\nupload --file ./data/NeuralNetwork_High_med.sas --output public.MODEL_NEURALNETWORK_HIGH_MED\r\nupload --file ./data/SDOH1.sas7bdat --output public.SDOH1\r\n\r\n```\r\n\r\nThe following file extensions for the source files are recognized:\r\n\r\n- sasb7dat, sashdat, csv, astore, sas, ds2\r\n\r\nIn batch mode the uploads occur in parallel\r\n","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.0","@sassoftware/restaflib":"2.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.0_1586285410858_0.527485748895939","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@sassoftware/viyacaddy","version":"2.0.1","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.1","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"e161ab2eff5b808fff219deb982037e761fbafa1","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.1.tgz","fileCount":19,"integrity":"sha512-9O9rs4GPDkXly6D05YggzhqrPTWE5uTX34w2T4p2qo5BF3EY5yTFoLowCsZuKYb8BDNo+zi5KMHIWoncqjZnAw==","signatures":[{"sig":"MEYCIQDxfPHjWdVRVGtxpSOMEiILOLBiAaP+UaDJ9zr09CWcBgIhAJnhRTKET/rqZ+xOMEFVmp+XKSiiIlJEdmXYOMmJb0JY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuvAoCRA9TVsSAnZWagAAyrcQAKAeOXm/Rzf7+QqK0vmJ\nNuvjqXd1voDCkh28s8mNmJTX6faFG1yHYrdIfA92U0Ijbjg74Z12HRPWb6mX\nkt57wm6zYLjOWM2v8zXuEL8Vu5gJVts6EXw3YZqjf7x845pzMzLV11JAjV1k\nrS79o5QpaiT82G1jsyuOUr/UNRaMzcinGugVZGKag2Q3hcAT+MpiqYQnNeoe\nrgyBvwd6qBXRqfd8rY6k6IDO2Yh41R2P79r3n28n8U5VL3M4sEEbHUDTUYUE\nAJXVOQYf++MpOuHd/kyBMvYUiu38hf0i6Ma2rSjeD4OGfvvFSVgRQMRgKWLJ\nxZl767oRzlWGQ3NJTX4YWgIP3hzE/rh7Dmfc1IesRMBZLV71kZxnec7I4iqX\n01Vy3iBnGCLAfFxeA/yy3a+MwrAoED5gETYBhGe9mhcj2J8MNhi8jehINIhR\nazGuQ3XS2SORT4apePkEcnO29eKNlHT5r11qwmfmp/qsBFAMsn7r4NMqtXJQ\nFSwMBNAu2q5ws/VH+LCE+ZoA84GRoCyLDNKuz9SuAFS+7QuqamcV2HOdIVuz\nmsOHkWTNLb7hurM1CEyuJ5Zq/XqPs54YKuUko140F1BfTi+smm39+10eQrj1\n5BHfohMXPBl5G7gm3vMCEdNTgXEaYY2+uSJqJRKNIRwJXFRQWmDrRIevOK+f\n56PK\r\n=++Lr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.1_1589309480112_0.42117961868116627","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@sassoftware/viyacaddy","version":"2.0.2","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.2","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"3bf19c2dca619a673829d9fb05bdb9491b7dec2c","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.2.tgz","fileCount":19,"integrity":"sha512-KPNDAKhFq4UgVneYC6IRdZMzebcZPvHSauWv3uglpY+0JpAXULyRdsJ/6cK6SiEDLvevd6oQ8suxqZgaAXZkYw==","signatures":[{"sig":"MEYCIQC2Rq2+wMbVudABgJyMfi7aGqhf2N7efrFBbra9ampvRwIhAI9Xix0Ms5MZvUWHu5p/8W98izCPWNDNmF76SGe7zWc5","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevHRiCRA9TVsSAnZWagAAWbUP/jyTyRvER64zMdjaYwKS\nlz6aUzTvVrCVXEKiBnkxkpHl8mzUh28m6KwrMYUBsoIIlqNZNKDDH6pNSE/V\nmdtymjjdPZi31frS2InOxDLpBzkzv5bRMX6o+pK7TzjHGYwXzhcWwPxCVTX+\neZhS08shLWF/1jQRnLcgflU8d0W//AexvPhqUi+AN4p/2uTZ1rHen7KZ40jN\n2ubBhw9HK8788Dp/idwsFV9XNDx/EDqV818ITw2lC7qeKgiAnFu/6mtpv3ge\nLc0A4tgldQK+0JL8CLEFvk59ReRYXxOnwP/wUEqMphJtbcw2Sjqf9xzglLv3\ncUqb44NTg9qCAUHgLEgUkbX0FIIN7LH6GSL9c4UEWKckI4psA4td9I9HNQhF\nS327ZgBiwggPXyamIv4l5QMI12ruO1yj5KMzhLbfusU/3N7TtL4tyLN7EVDz\niq/XOoh5PWNCAbrULJsOgxvT4C7OT5S+mZHS/SFmSFi1m8aijAFF00gRmpjF\nOPKvOv0tWqaTSwxPdeueJv7mopBV0yLkUmCaTUpkPKOoEbDJPmvRNnbUSfM4\nm+mwbDcGb0qTN7EIxe2uP4ZSExoeJ8W73T2XSId62aEF6LZzKuGtbKInLuGd\nlPSUb32aVUNl6CGFEUWQ9n309UnXQtCUm1NS0HJqLBBd/24kS5nVw+KJ01Dn\no9/4\r\n=n9MW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.2_1589408865553_0.5940319038602677","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@sassoftware/viyacaddy","version":"2.0.3","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.3","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"4e1b9ed9d1ce5aa4ef6fbdfd3c496237b86a92f1","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.3.tgz","fileCount":19,"integrity":"sha512-Ch40C8ekAgdSi2WiWNnLwzbQ2NIZ0hnKTnh8X78x3om98goyV0lZpp5ShKMJZibRJQ7LOQdcdADaW+19DBNGpg==","signatures":[{"sig":"MEQCIBo7arUZzS0381TG1bhp2OWRnD35whaI4o6V1kfkouSaAiBhI201hC4JPXo1ETUXJP5eMyck1bsy+kMH0lwnDQHuyQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25386,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevV+rCRA9TVsSAnZWagAAjswP/31DjLBVVVkGm9EPvSuI\nwr0DF3v6w8XXvJhr2i55THEebfT21vfLktE+1HogezhcMnhe6slpN8Gk1NG2\n/ymEl0SuT/2iqfpQZFuhd9jbkl8oXazQwiUGhDtBpw2oVyZbjRsE446i+gq6\nb8JtZ4WbeJZtJLQVk4RDimtRNzlFS+9wMY7+R/kER1y1hghBidD5zzYhv+i7\nvfBtBj+S3i5BLh2pGyMORi5OhHJonhkWg6L6DHFBiU3D6A4xX3sV9EUF0vqc\nlQu/3UVdgxaHCYZP28lmCXIKC/8zUKZuhnVahIa9/jcLP5I+RoLUMqHzsfKk\nRQq4dL1LUanwGGGA/bDRyemi5zu8lMT8IgIgMHQhqb5NsvgIzZzntkuwBiFH\nuoa1s/3vDZbeAC8+jjhkQe8SsYew9T2EP+LD90drNKXCoG7CAUq13X6QTtdR\ntpTQKymtny1bGL3AwFL4GIxWnD41klzWfg4etTyEvCSTbyLz2Q/udwUzwijF\ns1VK//CGhERNXXWrB4+IaXkezKQRjw1vxAPqEPrxJY/rWqYpGCMw5xVQacrv\nCVrSZB1snEkuuE/RIrmcy7IYBSWhRq471dcmuMxwXKch++pfz/XrEebB+LmI\nEm7Q02fuFFFeUJQ+j2x17ra7m7XdbQc2TfG3mpcRRAslsiyKzXnNl7FMoij9\nLhyZ\r\n=KQLq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.3_1589469086587_0.10719859279198163","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@sassoftware/viyacaddy","version":"2.0.4","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.4","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"48a1703793f261d4b5a4fa09960365fdc2c8036f","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.4.tgz","fileCount":19,"integrity":"sha512-mV2FLmaxQC1QVbcr75XDPGK/gnJfA45AnaF8CACJRr/pqaU506lG5TbHC3TREcG42C87zxdV8lotHCo6PEX03w==","signatures":[{"sig":"MEUCIFrEo8qTKBey+QHZKY8xA4sRdGCm0GJxxWBu2pf1cIwJAiEAyLDahVe6JcjSAMu8R9LQdGMJimjae9JADR2N8yBvzTc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25337,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevWbvCRA9TVsSAnZWagAAJekP/jFF0CYdrqPwe3e9CIGR\nJfy6mJZdOvA6d7rjJ4wxZemxf0CbchAXmk8cwGlGW2gnl5lF1YOSR1nIiTW2\nI0tbOtPVkaW13ltylA/mkDSK5+kv31QF9AddbGqjC/+bxXfZvVI4+dtt+Vp7\nfJ0d8Fw3fIoUj3jAh5n9TKPYtzbt5ts+/lhV+UMH/xFOomKFrtCEZAiA4Te3\n7ZbS2WFhMKA1GZJU6e+KTTcTc81BGNvyDkBfV4ZN8PsEAH4I7mWSsyMH2FOl\n2TQ6nc/ICmCs08gaj1mjanHl/C4MmGVIlX974GvAR1IcmdDe82d07IoqW2MZ\nuusGYWS1UkD8OHVLOWr0cyzshQY7mkB49ZT0KqqBfmhED4LbtR7wtyhSTUD6\nbfZ/ZKtbTghOjrTZ7wv1vuiPJcjfDt76a89GWilkvR6FRPWWScZpPeXy3h+2\noFOYS3e1DjM3FhZ2jUKnFsVVqsRI33KNvI+XsmDw02ydxKUFtk0qF4lwKQ6t\nBsyESaNhG0FsuHxjm6ZkuABr7G0gN+pCZeYBiralBycGqqnBs6vvqxnu8tep\nBwaun4KPkWXMsopckNUv+PQrWb+uDhL2AAJQMHEiEzBaMplx68tVCc6ChoIa\nqkJqc/C/+PPMO5brvqvKOcPfaWC8qfERjnCC1+tSdRnTgFwctgAqwJ+YknE/\nOhIF\r\n=ze3z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.4_1589470959129_0.854572941610716","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@sassoftware/viyacaddy","version":"2.0.5","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.5","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"e7f2cd2f57da6a559661e56d810189aa8ca327e9","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.5.tgz","fileCount":23,"integrity":"sha512-A3gpQG/pU/MBNK8khy8+9CNOdqPN0KSnQA+g+Obr9BcSb1AAQtow6rZSz/RZeCo/uLurNbiJSovED/8NfQRd4g==","signatures":[{"sig":"MEUCIByrXOOz6/52zIs9ojk9DMWqgg+/l5HfE8B369vtMeOvAiEAro47ywYzzShATW27XMP1FIEbkEeXOgpGj5KzPIpyaSI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26305,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev/JtCRA9TVsSAnZWagAAb18QAIR3t2+jjNAEHBxLaWeu\nCUzsPiDxh1IFn+fvmrjdtGyw1T0cmAcRXeU/a7+jScjbOS5ZZ7W4O3KuBCza\n9VDXys5LGcgcgebsX+M31Gf5XSfuImw2JQCe5OXHoITA7Do1pb8gksenYvg6\nDwRFmvdDopdhfaQw3ASyeey+rRT5Ai0Q0tkd2whjj369H6U937nbASh4RoQN\nEZbitNucL0aPve5JCIwAG6qJNhHh6S7nUBgiQfGb/rRRLEHQkY9fhbpyGSh/\nipUM1/My3PDeO2YX/TXOBSYgxvA/fhSN3zvs2NRqybR3udyCPhWSHHTS77G0\njhsrcVQ2NWg25YKyfTcnTcOZLyQrVsV5j7nEVKrJmbjxIwbJ96ekdNDLiY1O\ncVe3d5S/9w398a1tS8G2J5GFm2eM0hQvX6aLyjj6rEBQV/BqKaTZ15t5MrAB\nbCSaCjqupTffJP9J32PuuNC8iCW1YaolvE9yRBJMuk9q/jzPJjDwPJeGG/kj\nrDtegg0K/6S7WbS61GJ3rRIKIXAOmp63mmm7vItUQ+ouAK1MO6tKzCSrTMYB\nxAA89Rg6RlZb7vA+4GtPaheGJ6gt2qyIMxu68270EfyNBvO9sAb0w8346ExJ\n5UMaVLl7d/CQlb0DrX8iIw1TiH6vUPT73wE4qnTLrMvZPcx1cRe41aLkd5RB\n/ZK5\r\n=P25O\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"\r\n# @sassoftware/viyacaddy - a cli for importing and exporting\r\n\r\n## Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n      npx @sassoftware/viyacaddy --env <your-env-file>\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n    ```env\r\n    VIYA_SERVER=http://your-viya-server\r\n    CLIENTID=<a password client>\r\n    CLIENTSECRET=<a client secret>\r\n    ```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n      npx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n    ```env\r\n        VIYA_SERVER=http://your-viya-server\r\n        CLIENTID=<a password client>\r\n        CLIENTSECRET=<a client secret>\r\n        USER=username\r\n        PASSWORD=password\r\n        ```\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n    ```env\r\n        VIYA_SERVER=http://your-viya-server\r\n        CLIENTID=<a password client>\r\n        CLIENTSECRET=<a client secret>\r\n        TOKEN_FILE=mytoken\r\n        ```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n    ```script\r\n    reports import ./reportfiles a.json b.json -f Public <-- import a.json and b.json from \r\n    \r\n    reportfiles directory into Public folder\r\n    \r\n    reports import ./reportfiles * -f Public <-- import all files from reportfiles directory into Public folder\r\n   \r\n    reports import ./reportfiles 'a report with spaces'  -f Public <-- If file name has spaces enclose the name in quotes\r\n    \r\n    reports export a b -d ./reportfiles <-- export reports a and b as json files into the reportsfiles directory\r\n\r\n    reports list <-- list all the reports available to the user\r\n    \r\n    tables import  ./data  iris.csv retails.sas7bdat -c Public <-- import the two files from data directory into Public caslib\r\n    \r\n    tables import  ./data  *  -c Public <-- import all the files in data directory into Public caslib\r\n\r\n    tables list public <-- list names of tables in the public caslib\r\n\r\n    ```\r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    ```txt\r\n    reports import c:/public/dev/reports * -f Public\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n    ```\r\n","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.5_1589637740770_0.35991323995645796","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"@sassoftware/viyacaddy","version":"2.0.6","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.6","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"3eaa9acdb1ea1a41a675d764e693cdc85aa8dd46","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.6.tgz","fileCount":23,"integrity":"sha512-jPQetYlT6MMj5PDAiyktUE2PFsKuNsJ4DMUcqTjQ9cUqltESMKRqT/CytRwHI1KKmNGHiKSgEju5RUrRIz1V7w==","signatures":[{"sig":"MEQCIDFWmeJy2SWlPGXHTm7wcs/gh8d4Y78ABFLYUMAyMmqPAiB4aSYlT9VZ0rFR3VyzSCQOzYGT1mmTHesqLXP9iiMAFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJev/r7CRA9TVsSAnZWagAAkV0P/29stUC2A+xxrAx6tyqw\n3uS6RGTGoy3thHdXilgzw8TBNM1MU+GCRNG77bSbYpEwteUPH3cRzVm9lx9l\nRXhmDrmN2SS0CxCYwi8ttrgD4/bfS4SkBis03aZWN8H7+71PC9iPc3ixFU+4\nc2iGgzfbadypsZPUSeV7ehwEqnMrj4EaREZeGvkvXOP7qU6U1zXjM5R1fbIn\nPpSf7sYTt5AsDgEY90GsyahtOKDAlkiacKbzbH7NClDObQB00tUP3NJUU49q\nkFYBLGd7mKmFMRJtfUVsXcgFC6ueBMWJS+Ek03NnWRlbGuh0u+s/pPWh9N6D\nKg2Lpx6mZi8NShgr1nQbjbmXa4HGFFAn6m6/fd4jSE8O+Yybs+HYApEL4MUr\nMJsYdSnLJhCkutZl/e/tqm91aop+nj07G6QyCrvChkLNUOsM2azT+vg04wHt\nSyWUn4Lp1T+FWclptdR6MheuADXRDDOe90zt3mo7zRfmd/rJx/tbBASqGYvi\nOCgjB9ajdroc4ajpFhxOY40HxXyulYhQ/HGAXIR8lrtn8y5yMSyiWRs9ZGfJ\n+59oLk8ghaT8xtKp89CzSIiLdvZ63TwR/7JI3JNadpsDwl9thrDys+yO75Cl\nO9QPTnmvY9Dm0PrEQWpx8vq2G9omloR4OJXYScraizcGlGZougcvxbv4YrxT\nVyu8\r\n=OwFf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.6_1589639930837_0.8267729173014935","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"@sassoftware/viyacaddy","version":"2.0.7","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.7","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"6399c04c3219a5a03b8b9987193a06bd5d1ffdad","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.7.tgz","fileCount":23,"integrity":"sha512-y1+DOH0ts2DnR9Z1CiTIIRacK37c2zASebQuP3Sy5HsJ+nqLh8VSgru5WRzqdTHyzsicIMB0bmwTUptsLqMbqQ==","signatures":[{"sig":"MEUCIQDt8s30l+4VvQ0NWCR6V7bSgssvvKz1zrG2B4/2DYAzIAIgDBWVWjEXDXyrQCDguuJES+hSCLyfR9sfqoZK5D+gAUc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26631,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewrXxCRA9TVsSAnZWagAAdyQQAITDp3N/PUHQitPbZ4Hv\nglFmRVf77/Symg+aorVnVi0d0vfCPqUAvu7OLyypN8ttx4PzaKVRwA3+2Hze\ndQBp1MHVIYE9L0U1FDRrLxmHPyyJSzo49YwvR3owwFnAZvNg5fHWoXChIjsa\npYDKsu/9uqwVrMqSbgZcr/ZqGz/JHFALqVy5W2WjQyKpf550S1TnworWQmng\nKpWgC8G+m4SCf+UmvxJK3k4Conm+EMAKtZQANfH6nhhdSJVuDyJOKuynPOiu\neQ3Fk7bfAjSXtcKU2Y5k0xWkO/5iIz15xdb6YTqccD43KlmjAKpmo6Hxjsx+\nuXsWEMPzimFV+VH+E4mLM4m6zC33IQBYnkgzwhgDG9I+D7VCAkK8sL/1Xwf8\naW2InOLqtoICcHR+UJ5gxHlb4CA8FSNSj2PPBS6USoI3Iw9Lzc7pT/gd5gxk\nW0OglbidGx6QloZKZ3kOsEs4uoIRENFifDx8A83S7QyYrWd1nCFX4xEikT54\ndJgHIA9h+CZK1g1fh8i1DRkv6bvncKqdNZ1AbjVMs+LgiYlKoQlWWDqWPjvK\nVwckw7dP3QwVb0pqE6qpT2kfj0wFrHDw3q3JnKHsKyODGiFv9d/7JuryyyVM\ncufbHz/VDuGxc8hocxv21oQU/pHHDYTH7jY9Pa6STkyCMyVZYNvybiK2CqXg\nfX0X\r\n=6Ogv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","core-js":"^3.6.4","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.7_1589818864460_0.8314281693011885","host":"s3://npm-registry-packages"}},"2.0.8":{"name":"@sassoftware/viyacaddy","version":"2.0.8","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.8","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"89e397b8481d4dc1216df66d50b9d502463afecc","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.8.tgz","fileCount":23,"integrity":"sha512-wNs9Vf0kkAQUxW+uXgSaFl11ImaPjFI+KThkEnTabdSPDgFf6crBS0cX7Ru0W3UZpuJFtddOMLJoKi0+t1jXig==","signatures":[{"sig":"MEUCIQD6IoD+aGAdkNBWUk2+rtiNK2+r78vT4Oq6uSZ8ZMhnOQIga3/FV7PQQlLeNhzGYoO0ShHzoKoJMgERBKv7k7iYkMA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewrfRCRA9TVsSAnZWagAASNIP/1IKdw+wuluAjkh1ay+f\nQ2VW+86tpyp/FR7zR+Sel1sy/EuYPJ7+DybJ86swI8Blk/saTcc517psgcBI\nSdqVizYZndv5DmTBsAe608ANunpssj62h2LcLTmQY4pbiRvxhVHMJsiEksUt\nETnh/sjzvt5EWREqOXcPqkTkh5VF6cem8xf7ar1HtxYaaRJyqqUbFI0MHp2A\n6EtpPyy5oWtDfGIEeEiGbdZSUXdVdQx0iMmuMB2rV3IIzsvj0jmpZgQHu7EZ\n6vSWMnEyD9fiv2Lpdahz7DXM8HxL3wzD8krWJjaoW8MAi95izV/D3CcvMtUS\nSBnzOECn3Vzw6BWYz6EEqAVwc3lPa0M6LN+PxRThjnWqXxXOojrPthEn27sl\nA9o+1jRQpuCepFYyPZikcyKPo1w1vHpqQp8fXth8JRRzdxnEz8yzdvJR0QdG\nQGfzHcd/vYsRbULHrbtjSZKpx9G86T+BB29UgnxK0gd2i/JV2HzyEqADoGj0\n2gqZjb/8RZzHZF67qHCSUAiXB93N65pYIKsd3lhMaXcpP3Xppdfx6gUiNB9C\n6GoXcewLdMx03ElyMIHM2HLXljl+ajxGezS/il4APa0NiprriX4auQaJA9cQ\nX3QqUX3GHEgtXMosG+2t0vbI+wmIyexr+F/T6Np9Tm3F+zlmAcauQzhEChkE\nvLmq\r\n=2cOP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli","preinstall":"npx npm-force-resolutions"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"resolutions":{"mem":"^5.1.1","lodash":">=4.17.15","core-js":"^3.6.4"},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.1","@sassoftware/restaflib":"2.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.8_1589819345424_0.6911986462575019","host":"s3://npm-registry-packages"}},"2.0.9":{"name":"@sassoftware/viyacaddy","version":"2.0.9","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.0.9","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"7c05a27d0ee05109e8e491716e7c83eeefc6b6c6","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.0.9.tgz","fileCount":23,"integrity":"sha512-5VlD+rXfLB4riuT2W5LsiiTyZGAhZmGZLadXev7cnnU2WeGyo5Q1h0ZoJdLP4fLQDZjFSKzLh4JPD9rgBqFSDQ==","signatures":[{"sig":"MEYCIQDDZ6xgEDQwKXKt9cKCpkpivMP+4Q13ZI2xSqudwJCpwwIhAJCfXayMvTJp3Ho4dg9kKL6MLE7ux1MrE9diQdiyhssJ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexEEVCRA9TVsSAnZWagAAdqoP/27vNKHm+vVwsMWFf2WV\nXmBaVRCFA/5vrhF068NnGW6yeBMzI3b+Cje79XmJTiGH034KzjmN3CDirHcU\nORZ7uUG1YFtqwXEcQsvOAd1oXQA/t3xgARaSurPpD3grHPX6Qw3wfwF4KETG\nDMRg5Kr5qunaMXsC5XVNVP39QYoDv8K959ouZ3AxV0O19R/6uynlTAhGNxxv\nZLVBQPlqN1eFz/c5s8TH58BnBAtA/15h7ng53ImvjIi84O9RKdzCd07FfHhF\nqMx4R+3yvpBiLp7Mk6TyuiVLv0PDr5u/5JJdce7KC6sPD2FTQ4x39Uw6IteF\nk3fD/tNlE8zRQEuyIFHQiwdDUB9WQeVKQQyxUlg6X+nVc07tNrDkIcSy9p3P\nzk5bEteTBOjic+GREeSHv/D1GhoaWIyBK/1+n/FDBakFjZalEXwEgCMduvby\nVo3/9ynXR/c06XSa7g/gCUTs8n968zmf8l1kQgRI3dgSrVhcvd/FMBC4jdaX\nxR3o21/WOOlTCh0jHF84vl3rVoN/ARtU6Kyhz3VeD2Afa/pVkdrV9FBzXUlC\n8WvF4L/xqqVTQbl/JoHKvaTO/T5ztKW/jdKoQbLtuY/sYyP5X10z/PoqtuFP\nGBdSZAOo0lTiPkP/xZDimlsQuGhDuZEJOiCShsNPQqCWyZOIDtASmu4KcowS\nNvys\r\n=xvU2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.0.9","@sassoftware/restaflib":"2.0.9"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.0.9_1589920021471_0.0632465446043986","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@sassoftware/viyacaddy","version":"2.1.0","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.1.0","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"db5952c100b3ba5fdf4064e4f1ea706da94f97ec","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.1.0.tgz","fileCount":23,"integrity":"sha512-9WjBx1gOJKGhq8TGje+pNxXtH/r3blSu8zlMKhjoduNg31P2+PYmdeTwfUkhpdY1rx6MNF8pNXlYcBxEmJrPag==","signatures":[{"sig":"MEUCIQColwQyQ5VDYeOg+u2H0qIllwp8Sjs389SyoZmp8q0bSAIgPjCjEkin3LXlGR5mPNNZK6voC9cUHYXLzZKAu0GbtF0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0+4bCRA9TVsSAnZWagAAL2QP/iAQ42WWGdGUNnTCn2sp\nYroNf7alGZxJ+VuxK5Y07fFhovL1AlwkEcp7jcvFzH331XI8HUuh4WLR7hxg\nSo4GmzDJfD1uhgxmt2bk80jKfkJsM5KCr/mTii3fyPdtg8xPQG+4koXmheYQ\nnRpq3S7lRh6ZxQcAEYCDZTaxAKDWBjgQRPY2UWzSO/0hAegy3Ou4D3/688/t\nHZzEvUNSnlUG1DiA8RJj9/WZiQj65xKa8oxq9uk4T9l0KUQSjWn8XCymQpZJ\nUZV9N+Nz8wGeAaDkG5BvSmk3DlNw/Iot5WaS3Ua3Kb03/Zebg1Pl3k+U0Iqb\n8jflXBdrWoooJPG69GaG46e2sRJ5KgxGyES3knuG8tY3OfvifDmpjDIbnXCj\nJJRqQjc5t32zIOwwPwJwoHreLRJlIePluLrMO9C3DCMe9nPLQMYhn1Mgz3Ta\nH22Bpfoxcn4kWoEzPQBNGLSggj4sdcQzXymLCtX50IA488482VRBYyqUUioC\n298tcxcq8R/ewdzLZhbshJcQGbU+F8fzc8QEQ1KjX2KYLip6PZ8Y5Ar2n6nS\nElF0p5yF/8IbCpNFnBugM+hQ/nCav8N0iLcvnUx4Kub234piuhx/SVnhXGyT\nPFAMmNdtlwOSZeB/iRf/8yI1xsgLOJpl5duoxO8p0wGNaPKsQSSftwh/rRWq\nlFqU\r\n=ltCw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --access public","start":"node --no-warnings cli"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.1.0","@sassoftware/restaflib":"2.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.1.0_1590947355121_0.29763717083444696","host":"s3://npm-registry-packages"}},"2.2.3":{"name":"@sassoftware/viyacaddy","version":"2.2.3","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.2.3","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"8c287bc2316ed52bfe95d9e41de6f90c9244505e","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.2.3.tgz","fileCount":23,"integrity":"sha512-IIgrH85nhRG1laaBOOhZhE0+osHaN3IH90KRCC7CX5CTLFCNeveMXWnuwHoq01GESRszMOzq3wI9LbF/BkU9gA==","signatures":[{"sig":"MEQCIH7jURzByKEACFzlX86OESRdD+QF/om5KM+K8RPYyTECAiA0lYspNaxWXvBhpRNPJcbn0ae43IZo5stu+skJltEnFA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRBEOCRA9TVsSAnZWagAA1P4P/RRYZOGugUdOaUMDQblt\n0or2tGmArSiLrtoSpsFoM94UIYZ5XvfpLpy5nXLjv1NtzWYOtYdwZG19KlCY\nOB62ajYuio1OR7dHFCsfuWznfwx+q5kXyD9WvdPB8j5MfPRFCsOmpYG0h//h\nISW/LLZCmIJQWCzXumdHW8hgwSurY8md6sptx+chqvTwbzRrEjcqI5aYidI2\nbrCPZZRVC0Y6TS492xjDiSWrijNfdPU8yRsCq7lFGnE3R0YIphNnkbofgTwi\n1IajnYK0pVq2RxnUPJv5EB+UFLgUrzVnpMfk94mZ7VzfJWlHGmVdO1T8AUfj\nU6c+KLw/iOQdPOXOJY/gNI3JeIKzD+Cvg+9t9xiS1e4x1ueK1PerPmCeIKkT\nF0pbyGlL5FC51T4SuEDz5B1z4I/JSRe0f3FXuVmzAcD+6TqxRdTY6k6hnD+K\nNXsYqTetPHa6vzujXMjtwpicc4AAhPwC/yogc5Hx5aZrAhN9tdDZhtoOO6tP\nESbBThE9SFKLvZ3hCguzYw+61rgZLFfZDkjUJd7P1w98Q3YuYNLsMpqYCfsb\njHqmN/HHpquK+Wdg5rCM5C5+Ft9l2RFIcYqnmM/TiAucyxYGsfykiR+eFak+\ngfLxfbU4cMmq5dMSbpSJ726dMNaXFSOYQ+e7jpLx9sxacguYnO1RGjMRDhH/\n1ckV\r\n=fwVo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.2.3","@sassoftware/restaflib":"2.2.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.2.3_1598296333904_0.27010168259355893","host":"s3://npm-registry-packages"}},"2.2.4":{"name":"@sassoftware/viyacaddy","version":"2.2.4","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.2.4","maintainers":[{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"341d7a81fcabfe86f1ffcafeac6110bf9cdfe563","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.2.4.tgz","fileCount":23,"integrity":"sha512-DJXc2Ky0to2u4k5iynEWCv2O04xMhFIZdMpvMjS/o95prZLXTrUbcLcq2NerS2poqux4O+DJY1AJo8fx+dwC9A==","signatures":[{"sig":"MEYCIQC6rUCjahjfZew6BAUS9ht4zfwPaWlTQ2nkJ1IwjCOQVAIhAJ/tKAC2u+UC8GG/UhZ9qz2o4UqQPBQ0FR4y161OVPGu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRSj5CRA9TVsSAnZWagAA1qMP/3vsN5Pp3oTVpp2Vma21\nGj1kX3NGrlR1SLBql0sU4YxUV5mjM7PI3SlDyCA3+Y+szDocsT6RnhKrIG98\n5wDJzQJoP2QtxoEfVneM0iw6MJ3kFgPNa9u8buEZACuaO7W6gQy8vTGcuosf\n04Np6kVNoko/D/++UEPvFuVseermSwyJL801Tt+Ts46L7NMy8cNoVqbuHyP6\nfhZmLjJNVIxtjBkI54z8Efxp7jc5tqmHT+vDW34keNOTK8OgYWX8rk8D+JbJ\nN4jV2Wqm6rD7X7W2I8EIJ/V8p63VCpt2QZoG4jBJ3L7H1JVXV6TG/RWWbSzw\nZLrsZkgX8LIOSB0i7z+kEIau5/m3rGxcTX6Dy2SjcKVhLdrp/IBE3Zb8C7ea\n/kRo+07FjeR8NXWQPQVHHKSB9i2QutwInyntrFbgM03UjtD0I6lrG+GFv4Dh\nRCa1zQP6jYT07PC5DXPuw0suOmbdElJM4w94Kp7crGGAbmMxkqGKgMVp5xyH\nUGnTSva0HqPmWkWDTEuZtjp0QxM+5X1pJTD/MWCoyoj+ldj+hV5NV3NThSbP\ndBkx9zXkPCxE3RtGg9Uhp736mpiObKtSeqebZ9CzMUCQvfWBlayj235cy1CS\nTBb8oXXMBhO1Ifm+ZWex65TwHh8CcQ9pfqyKFD+dT+20RsXXoiDpbErkLdPj\nwmNe\r\n=Yn+S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.2.4","@sassoftware/restaflib":"2.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.2.4_1598367992846_0.2927188971450658","host":"s3://npm-registry-packages"}},"2.2.8":{"name":"@sassoftware/viyacaddy","version":"2.2.8","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@2.2.8","maintainers":[{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"3c8bf750d4e387692f52b1d1c7a4f9b6f428e8b6","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-2.2.8.tgz","fileCount":23,"integrity":"sha512-1J7LjWu9MrzBa54yf/2XcsZUvXSDrNdSE0SE+ae4AU/8VgBv07wsPNFDyAy5PIDbEbkYmbMdzBYzZRacONd7Qw==","signatures":[{"sig":"MEUCIQD7dp3eyF+Th9MuZ2pyW35DVn8rU7StCtXkxm/WfhzrHQIgWEfYWwn7Pkt0Um5yaTw+s8TlhYgVj6jiWRvGfK3xfZg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfVS/2CRA9TVsSAnZWagAAfNYP/RkUTj7/Sg+YrYJGtbzu\n0Ek7wwptKQCaCBvKSKp6R6kNAloXFSDurirma9b6Q+dWPtTGJscV4pa6Jmr4\ndLAn4NrNyKSBbFAbBVNHi4rWpImb5JIoBzV1wQoUXpU6llbU3yjTFs1XDrIs\n+3PCHnD64fLFLySaLw+nTH2aTNSUI9YpTH/kSeTe3Ih6ptEzVgKAVSCKfnZc\nN7HSH/9XApwd7sV+J7qiWJeIdrs1vsIYZhRRX6U//PERRjwy0U2TvaiU5h4k\nle6oGvOnIViJi8W3+CgTXN1A9Foa3DB4IjoZDE8Owh+80Z+FQRhzUBFZHVTE\nju5JWHLpyVQE3oudteY/CEWGSpR9+jcPMGCUYpjJ9K0+dFwYZom8k18BDLxn\nJhFOkYgtgKn7jJ7660eVFg/8uENdpFSYlqyDgwEeS+nGhSPH1qAR7FOs/vsd\nvqSiKjao5K/viR2P9c0e84QWET8peCEdhodOfQCK8ees95OMFP5pN8lf6joG\nW7AUa2YjkmTQrvk7t+8sRGlHfDxFeyDFDaTfslvx+4b/pUDSFQIKO4QPs3ww\n7W0g8PiZSzrFOoeImAadbeNddhfc3nzFrRVPPqna9JDe8dbtM4MwvuUJkaUD\nWEapJkBdznBNMFrSkbw4RySuQfNvLPekcTjOrnNmEXrOGx32aFTmRmZdnwZt\ncWRg\r\n=smoo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/gen2/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^15.1.0","vorpal":"^1.12.0","@sassoftware/restaf":"2.2.8","@sassoftware/restaflib":"2.2.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_2.2.8_1599418358035_0.8035929209064414","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"@sassoftware/viyacaddy","version":"3.0.2","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.0.2","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"05b152c708764192a18298b8ddbf08460bb2ffdd","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.0.2.tgz","fileCount":23,"integrity":"sha512-YYSvRPId9YQR2Z8RwTd5zol2xa9p51yX75xk2Adl+f/g+zXtT96Ps0/21HTGmnVYKm5dc4EaaiOTSdqjJrdnXw==","signatures":[{"sig":"MEUCIQC5rNdoEbanLjB0KmIARwxZADrQ1VMCRtTmgqjc4h1DTQIgDZ4uJtans4njyWYM/vRiWAL9lnOzvrz473njJq/ae18=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/yPBCRA9TVsSAnZWagAA2woQAKLbptEIeo+drWxNfc8+\nD+lKNgINmN8DgJYXVVFDJfddNj7C5rLA1TWSCOQyS5/8uQYtiFA4SX1FOZVy\n1ZJdSFPLJfIFAXmJRFJhyEY42FHvc2JU6SLOulshTaDvtl3cKn71Ufjz6So+\n1o/tys47AVKduZOydcW+Yp0z/UTxIcds9bZu/JjCZ0xAdy564GiUYlJA8bzi\nqG1X2U1zB5wf31QPR2nOjGq+nOhao2RPnaSOPjKrQ4lCrKhjJrKEVGafjdR1\n3MKUoiKMPlNHF+7Ami5zrIMp6YalthiP75G4jsk3JjKjaIbFfr19/L7sjf9p\n7miXWD7h3OxWi2I4kfYZRG6LkOEES0nTRmkJubnK0I8Grp6QTuDphC06brQl\nR2bY8TkqHFgNxOIAZe7PJHQdVA9HjlmFfjW+6D8s0hyJuM4bGcB57e5+Dp7I\n/cXRnxjYbUqvCE71iPfWdzxGKlkhRX/bCIjqbP8tEkpFi90WWuZG4m+8KACn\nY/N2660oGNi6NRfMwNRjUnhMd6HZTjvlNKLzwY7S9A34s5NRFviimOuDtbFY\n3sD05JlJ47O8hY0RHvJR2cRwSruTOzUKbqudVnC6IGiBm6hRDu1kznCwENnX\nmytCouiEmlzRnhIeDkzlbBTMVs+ZATnpE38fHH9xbNE4YIcBgshoW+FIwzo0\n8qZe\r\n=mN0L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.0.2","@sassoftware/restaflib":"3.0.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.0.2_1610556352598_0.2914814630610447","host":"s3://npm-registry-packages"}},"3.0.4":{"name":"@sassoftware/viyacaddy","version":"3.0.4","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.0.4","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"23fec2d67ceb6f24209013a16f1b7ffa76212209","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.0.4.tgz","fileCount":23,"integrity":"sha512-nwAaELQwYr8xYO7B9G+8HppNpDQPzevlt8OYYHnrfZ/QOysbfpAGP9TLYfisVTs2iWbCVn8klMGbgXag5XiQIg==","signatures":[{"sig":"MEQCICxiY4uNBu5Ku8KVkYeCJ6mI8VSr9dNL9UCuM2xBn6pAAiAIPv/S7Hpqwb1MDpSivB0QyIScO0KD65ZajGw/McFCvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgEtV+CRA9TVsSAnZWagAAvT8P/3Vw6erJYmwsPPbJ4R0Y\ncmjG4nfxHdsW7W3o+1CvtCbqRF/ejrBvGckCTkJyE/vhXuGuDbElhI+yF8IF\nz734xsBEuM/MOeUWYEq7Muhz3eMQHGrRIjk7N0kg+mtKQtzBXw8//Z04JFVv\nWkRF1B6sZ2WcfBYcxaVUfaUKCM2D0GaVSxZ1GOUslyWJjCP/H62fOiWIFEFS\nMk8jb9fIikFyZKX4K3iABwI7FHIvxKXM0vHEw2Q0H8laReacYyTo4b2g5g3Z\nlo/ONzjO7Cx2Y+klxhmP5QAqmkB3inAeenoLPIP4p2QcnBFh1vXQk+mSMSgm\nXm20eqEiULM00he/L92Lsjtd+7uGu6UsVh6a55JGAawPTxGYR8D0bCbGpIbw\n4+cUo/P08M+I5i2boCxEKoLbeaXhlkuWPyVMf0iw06tHvAODxWO0bI5KcF6P\nUiqNLmonDSsvnccTFFhPQfD06oInJuu6Y5jFS8zoCUB+BqRhuMshbHoQhct8\nXO56yj1YZ5nLylX63c8Ucr7cFOC64f7cFMqqogiKdZm6GX3b6Zq9mv6TnZuO\ncP1dPnDbeN0+gZPASn9H1tQ/FirtoL5WyBE56sgoW20hPx+8hFpc8WmD88O1\nRs5MPYIVMhl7A6SgWEcoOuvW99GnTTeikC4OAzeevbM0TBsDTjqXh+yaPA4U\n4ov9\r\n=O6iG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag next --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.0.4","@sassoftware/restaflib":"3.0.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.0.4_1611847037668_0.8050980038781768","host":"s3://npm-registry-packages"}},"3.0.5":{"name":"@sassoftware/viyacaddy","version":"3.0.5","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.0.5","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"a32daaf7a42a50d2b10f52d699716818a4e6b463","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.0.5.tgz","fileCount":23,"integrity":"sha512-KKFqgnuvP//Tppz0IAbLkX4zBw/jS159G2s+c0u/ZctxG6vycXPwVev5yl1YmkuAd6v6BlPALxmyYXt1RmLWuw==","signatures":[{"sig":"MEYCIQCEGIiBLGGgQoI2CBPeDFASZY8TnltqLTo31lVuyPtoHQIhAMHJsQg0W6QwUQ0V72REXwB/GzTc7mspQIbZZNjXDl+c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFBXGCRA9TVsSAnZWagAAF58P/1zUEutNliL+c7E/yKc3\ny6RrEhppnwezjezPMgedmacgRNSm6PtlpKfRGKCvQc1oYv7g5RPaTMyKyRQj\n1zDDqzEt87dqRUO9Sz8VqF0JQRrjuWoRhltAEtvOae1HvU4DEUoG/uLWEXTW\nzxs4vCBTWrk+l5Ejg6TYX7ExE7bBVMebBgX+EaRlx25Nc/ipnGJ7Vcij8XiZ\nrUwX+aUBdjNwsrQaDwW54tV96RstNgKXJsqawrWwNtm4FUSlqCFDHzU81obe\nSR3dGsB0hmXaiFNaB8uZ92Sg++P1cfy1gTYY7yBCn3RHI1Uyc7m03Gv+AoUh\njWSiUNBmZ/8iGZCwlNFHjWcvPxx1TX6pvHC8j10nNLq14crMmW7+OrBYPC4O\n8NbG8DmQ19Dlq1jkDbg8XjKnOpIOp5fW+o5z4Niv6LxJJu3aTANceQ8QmoqF\n/WZvUBtH4t4b8cbOfSanX64nOeJ9Va5UM2FhTWgBkAFV0rPgo6kq6qppq+7W\nVP+btR7lkLXpaVeqBR4lTojSangLWm7PXcDJSvgyc7S2++Qn2lxlI/XfFLIh\ni/6cSH8Wp9K+ycun3ojifMrGDu3GW/20rpdAb48C9BAP8nlcm49gnCH00Quh\nbTiGskA0h8flwVEY98QZBmm03iLJhTQ9RtbCoRB3YTm4QNLiHfITZYmS5Qzl\nF+sL\r\n=HXD9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag next --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.0.5","@sassoftware/restaflib":"3.0.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.0.5_1611929029778_0.19723936244822227","host":"s3://npm-registry-packages"}},"3.0.7":{"name":"@sassoftware/viyacaddy","version":"3.0.7","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.0.7","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"0843e3c6887ea5e2ac1d5ad703d6795c992314db","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.0.7.tgz","fileCount":23,"integrity":"sha512-RfbwtJOO0w26fwkmyIz1pJEifeGaPubxQC0segkgkkFXlY/f6Xqyb1tx9cjYd2GA0ixILEv7htXuXC93xh/HGQ==","signatures":[{"sig":"MEUCIQCglujziC8eAvBwbbCIpCCZbSYsjBlmc0rqhMj28bDYHQIgBWugjYu9MjInSIeiHnP7NnnKMAHzlaQEin/T2E6bn9E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgFFLJCRA9TVsSAnZWagAAFYQP/i5p8pHvW+JP3sqOdyVV\n8ujkdmScJNs//2Ks51mbBR2Fwo4RthFhDaJxFDEaumXIO5jkfz4MsxXHjwV1\nFNtLYJ8o/VLTISqzwavDjqGyfDb4M7T32Neg844ObHVpTHv5Q8Om/U7+oG9s\niVD8Di/mgMtIVaZfzWLxii1lG7z3VKTmgvz/h01Dnp6hnJd/kiwZ9kcTVqlt\nxr1pjCgCmYLOwh1uNR0POFNZyr7ScKX3cCEiBI6+ooEro+/5TUJKow/U5Xuu\ndfiT4n9G0V/BZCVsXJkG2BdE+9ctuhG8jwJqjRXtop5wYNhKqPcmDPSQ8L7x\nwteSnhOZZuc4I766HcSNzyw3QCRaHSjDYEm1WX5bz3XHrylCHqRkh5sHSj7B\nZGQKoH+8hsxz5G9+egmUtgtfhaZKN48IgpKi2AnrzOgOnGIVRk8y509LHWfD\nl19ek8GKam4HaEYiOdbPXShL08kKIHFv8Pbj2DIa79wH/Rg8Okwvmgujp2RK\nv7rYkVLK7xSIop1iw5dH0dtNzEN/Fypgc+TgRE2uwA8z3BaTgJkq07sfCFFK\ngMOF1IljdEeBCl+LC0gk64RM9+NYmcdD1AwdURkY/tAVNb2oYgNQClKunMYj\nI1SoPqhNe4OXM6fZZlQdVW92THh9VIrN+Gg3HyUZKEK+AgmT8BY2QijHfbmi\neyQY\r\n=+P9d\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag next --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.0.7","@sassoftware/restaflib":"3.0.7"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.0.7_1611944649221_0.9999055988646581","host":"s3://npm-registry-packages"}},"3.0.8":{"name":"@sassoftware/viyacaddy","version":"3.0.8","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.0.8","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"757c37bb0cc9f648e555d5d6079b1c2394322230","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.0.8.tgz","fileCount":23,"integrity":"sha512-/TNT2zSKhX5BxiOib34Lbe3WwkeukV/ZqaFoUZaWu0itFYebqKEyahGXpYO+xSSNIq8SLG9+ycAa3PiXTL2Wbw==","signatures":[{"sig":"MEQCIBG18HkFtGyd7VeAvS9Uv+zYt3f28ye/5lxADltjgxivAiAzHKwGIPentK7gj449YsaNTT4USvajn/WgTHs++TerSQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGAjzCRA9TVsSAnZWagAA9TIP/3hlqplpUpc1URQhcj+i\nZ+UXpQhk1zdizIJzs1mpvWQ5lIr8Z9kZX4UoydWkCBmK1GOXs1MaHXLBUGn4\nSNQ7l5/EGnbOWERqB7INMXrWNQjVBIMgkpXE69ytjhh5rOimmaEAiu5tAsSD\nluVyAydH0HHD7ggl9bgOdqKgkuOSeHdkaNG5W8JgIU4Jg2dwdC1MZlsCsbad\nqZFoYS46Fc7+WZLiLXG6aUu6Dm+qA3unodER5X9blD03W/ZGC4CjbKrIsyS7\nO2YhdDwu6x28HIau38nZHFaGXEn+izem9yWZYI7ZI5TStMEEOB5eP70HzgWT\npx0Pq2CdHf30Z2U3c0td1jVKmLbYpWHI/f1ulyAUO14s/QmOdTZ+xrYNCNCc\nTMvEiB47V5FGJgLvlGNwDG0JTSBLVWE+BlTlSKagmRrdEZ0X495Ks0CPARhL\nq0jU7LDBwEJiFxSVr/Hmx1iS4t2Cqm448wWO5f+otdPRH/ehGGz3BrVlq9xc\n1qgw+jBeAnHcV/zb7LeDO3dx8H3L7liiR3NORDtNVyiPxSRdw3dZbvwx43EA\nCiwSvbVjPeZtrfOVY6sAia1nk44n/3gg4Igm0ug2WZn5A+sTmzMsAT15Jdh7\nRAtvy1fjqnVkmGBSAe/xBgW1dR/JezuQzJ/HEO/az/fBHk+3r5IqZCxz9yIo\n02c9\r\n=6hMq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag next --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.0.8","@sassoftware/restaflib":"3.0.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.0.8_1612187890639_0.7261430775822877","host":"s3://npm-registry-packages"}},"3.1.0":{"name":"@sassoftware/viyacaddy","version":"3.1.0","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.1.0","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"b92437be8f742afaff9d366234955e32c4ddf466","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.1.0.tgz","fileCount":23,"integrity":"sha512-lAOPzaxlNntV2KgeKEBnhI2zUSSkkMAj+EzaG+Gkd6/bLxhVEoxtLgJ2fx4M6sWXqA/CMco+44JyWMXj5MElPg==","signatures":[{"sig":"MEUCIFxtyqeCC9VcLBmkg3djVwZjblnILCu1xrKo/qW4gFM5AiEArLdb3pMvkRgxt1pKyhmO7MlPv3anH9zeuC1DkJnxcX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgGr65CRA9TVsSAnZWagAAIF4P/i8ptez47GffkOHYFxAq\nPxwgODRCSFm7WVs4Jp6jv64U/NjiqqJJmTHMwBEem9JGZJ+paRRPGR+uHHza\nGYtnsQzY5/YZvwW62BkDEnejXOvuIJ+GpdSiEzjYgYu0rx7RvWAjyaXZz7M8\nuw6kL8JJbaCoqsQn2G/GDZLDfJdCi6aFsRhQmC6eCKRHvdTSDdM+ZJ8WvUx9\nGUKTT6At7AJiF3crdV/QIOkpZF+pT32QNGFdM5Fhjetmes1pVgOuwysjTx7D\nfPmg3QSBMDyZmrPCGmoslHzeq7+TZBQLuEtTDnI1XJoIz/j5GKXqd8rXb5SS\nNdfYg3PWjkFk1pYdROERLq15gitoeBs5E0HIuU5QdRB4PhACXdL9WXRn7lBa\nVAeW3ksLAMmEnNjqNagAIWXCa1ZRdIndUGEWLIRi0yVtdCiWsQu8EDR/Av95\nCVSFMhS6gRJBh0vybZJGsKqNSYPRR6Bzyxa07+alYEwd4PZyJi7OuBEGYjBZ\n2BKV8Pfp1uwHYAmx9y7kR3LDLVUr2TUWWs0Kv87Au2yfceWxb83Hjuu4Wbgw\nDf1uiKGzn9tg016Qyobt8EC41IK6t7AYaRAKpasd/1Bj8GS+NJ7+JMcd3vr9\ne+FXUEcgZpv3s1LeIpjjGUNu0G0Ao6JG4oTSGLSidHRcB5dCginqHuvEaHc6\nqXVO\r\n=9vQk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag next --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.1.0","@sassoftware/restaflib":"3.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.1.0_1612365496746_0.3207800450067466","host":"s3://npm-registry-packages"}},"3.1.3":{"name":"@sassoftware/viyacaddy","version":"3.1.3","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.1.3","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"5ba622bed5311af462572b2b1bb89828acd0a155","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.1.3.tgz","fileCount":23,"integrity":"sha512-lVgcwElOe3hFFNs/F6rXBmGjPBbB1ztA0vZyJ832fcSfoRITdo7XORdNcESvthyhRjBOVuDAyMRIfwoeybbIhA==","signatures":[{"sig":"MEYCIQD6rf+qyTZd3O9I8LMtdalQgPyyvuioKydvMEoRTT6nhwIhANIOCZj05269JoS5pZbYMPXApNhngHo0bLij/+TbtwGw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHGGNCRA9TVsSAnZWagAAxq8QAJfg3J3K3dSHfVkz5Y9v\nDTgzWJge6bj/lFwoOoXIOhjZWAhIxZ0i5AxJK6tI/wl/KQghiNG3NYzQru7/\njh3GKIA68x4PPlR65GRzlbDZRvOiXr1gQJKL6Xl/sByssPJyAI9gVNeoy9ou\nO7g0/8lp3lzZTVwKAmZEUbXLOBy/6QMx3SS89lZVTws85+NxWagkBODAuUhY\nEQ/lVStrpwq62ypPbgNTjJLjNdgElFSu7W1h8921QTlg35NuGPXU5+lv5ELg\nrX0o7yGISwxf2Q1DjAGlzSqwvHi5PpdcHJdrHF1MqqAouGRDAItBURy4zEnd\nXHID3WhAVf457S9FZBdturTAHQ4giRFjLRjRw0lwZGl6oc7ebb8PsuB9Gl5J\nYZwIs1qXBFhdLVLlKevIKzHFZi9jjMGGNAZEyy61RbgrL7515jBMVxUgs7dN\ndkIxG57kDdXMB51lIjTx4O5arZmhMAkdMiu4uLVnHRiM/BlrBVvDZJVYM1fa\nBfgAhbPeL0H/J1anfCoAdZ2eyCyG28RgZHsHn9ny9WjamPg0DprKg10BFaY3\nZLWdTSDq5EyCP/yk5KFpLHvv1/oEacM0ZP1Dv5JaCOOjuX0o0p3zIFOSMe1x\nvf+TrFNZapywR297Oxw+pQTDDeZqCbh4rKUXEbOBBlf3HfVUVDK1UyL7h664\n4diK\r\n=DdF5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag next --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.1.3","@sassoftware/restaflib":"3.1.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.1.3_1612472717219_0.6985062428449371","host":"s3://npm-registry-packages"}},"3.1.4":{"name":"@sassoftware/viyacaddy","version":"3.1.4","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.1.4","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"bd40eebc7bc47308c0bb7d37a51344fcd2f4147d","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.1.4.tgz","fileCount":23,"integrity":"sha512-YzaiWk2E4tmvi5Lmhur63xH+yYR1QmYAtA0dYTQXJvmRAKPPcyyPJr27Zkdwbat4bYCzn6MRso9TxLdsQtHZkA==","signatures":[{"sig":"MEQCIHnLgU9vkU9iq+/6GFFkCy6uyZ+YHje/FbOqUjw1JtrzAiAD7TH8yox0wLulqlIFY+wqKaXKzshu1FOsM6kHdH436A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgHrPgCRA9TVsSAnZWagAAzp8P/0+ubFL7mmxooUck5uJd\nNnN6qoWE54RzLzgvt668L+O9XzmMUcBqh5Cpu5HIXENdgmUKnRUcI0NGTd1C\nTyOzKwB2ZfxPIo8qSiNd4J+kGB+hw+FsVspx9RCpKeaxZtIAk6PAOoon51m+\nkva+1KPwUXz/xOQRmHjVvoiNkYZ5r6cLRHxYUpYGefVbSarUk7QjsGpTlB24\nAqIJGFcsS115Na2VXCdLhcsOsIwFrHQq1Q8IiLwtQHOaIJQ6spayFS7G60f6\nS2EEPJmRYFxq0HPbqDGvNKdYILLM8NRUIHDeaEvCw+1zg5HEjmySEEGm2dOY\nPT9+Ef6u/nECvL5babiPHOVKj5K/IohT2D1KGQ9A1+gmN9tknmA4UYlR96Fo\nSwOHkfL0II0NIbUNVTmracS9Dpu1M+PEBdd7u5ZS4oKSZjLewbvma7XhPUgD\nOUH6UoOztZIOplDemZtw9xBP1nY0IgMGuo6XNbg6uFcVh6ZmokqZhnwdMWoh\nmV7NoR7Iq6GJEtuOO35XZ7VOqto76W6QyoKjbzBXMEZDJsAXYk9g31vydQz0\nx2CT0aZqpec/hIvaSMlTz1B+kgukFPoWYwx3iAQTUyLpdYU+oIQJK0fVdh0X\n5HQWouxxxBM9aj9Ayw6BN3OR2HBZXDQhE7KuJ1iBU/3I5P+pyr6YBUqCE/Ec\nA9T3\r\n=u/Oc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag next --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.1.4","@sassoftware/restaflib":"3.1.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.1.4_1612624863820_0.12308398995532266","host":"s3://npm-registry-packages"}},"3.2.1":{"name":"@sassoftware/viyacaddy","version":"3.2.1","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.1","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"bf76ec8ecaf6c1c19bcd20625b40ac028a738870","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.1.tgz","fileCount":23,"integrity":"sha512-w4X5FI2zZMXyxEXc/XwY33puJwOWbmOifqXOEycS05dhCwpWHJevVDBW15vmFyoJiAWRYtSRhGlj7uMt+oBNTA==","signatures":[{"sig":"MEUCIFd11RhDLTn8/QDbKkNXvasGJ9zVj1ZicJb2e9sza7b0AiEA1tZxvGy348B5vtxAYpRn0UnoX6yY5NXU9VITHuC13QA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26487,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLUwBCRA9TVsSAnZWagAAsZQQAI3byRYZ9N1xZKqu9qvm\nl3fdYorqOp8PUo2I8rokdRDMPuz94R9jUPwuUpuzR14YRoBQNXidGvLt0XBq\nZdH0yVyh4jVrK3Tiz2Wc4L4V6y3+bxyzsI/j7EeNj8P/psI9SqYFcoMZJ1rY\n6y6uuUc1Bc06yG5FYe16dmnm1/eJgICf9MuWxPlpBuDKlffASLUOuLxUfmNd\nu7AI1qneQqmA5WjZQZsM2l0RUCG4f59ZlOG4t3hmfSuCJeKeJD9hhhGGP30O\nHHtRcjE9scWlWj542zd/85d4ykcTgpmeVSfif0xkv98ZI7aPcDOdb8m83N1a\nufqMe5aWbM94tVXuMEAWYMZrEigEt5qmJk3pfHxmpXPoNPzBFJVtr8hQjJ3/\nw9ac4SAqGhzbMx5uaVSWREWcmoxslNsHkk+oJAL3b+h4yAwlwLzBsVY6ju3y\nxUhcBmcdnLcobj0UaFQaPNrQtndC4XiLSjNyKzLbG0PbLHmhGnp3ZJeEdFPq\nPeZUYVnN0gniAYFbMQkJaLwx4MsRXhhHZ7ggnIwIt1SAttBde+rb/TiiCIfg\neoNpYMEZChmVni0qpVK8YP0hB8UA5IunPH3EtpKFFY5lAqIVYdxTdkr3BM6t\nu0aiY8Ev0Ti28yOdmKb29gx48u0zbiDm+mqP1hUp2iKs/jpkc7w9RAhISuk8\nMaXH\r\n=bwQp\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag wp1 --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.1","@sassoftware/restaflib":"3.2.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.1_1613581313142_0.35345745486122704","host":"s3://npm-registry-packages"}},"3.2.2":{"name":"@sassoftware/viyacaddy","version":"3.2.2","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.2","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"754c00ed94743199dc6b611e8a82ae9e2ee7bd3d","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.2.tgz","fileCount":23,"integrity":"sha512-uLWCBf3fqqXLM8IfAsCWiC6qaH48x1eY/eayNeVSE+2isQYIR/9YKPQp404q+ZzURwYYcdrlpnCLL3KKo0vWLA==","signatures":[{"sig":"MEUCICjNI2SglbX3zCciCGuGen1Mf9Lp+xUnJH4Qlu0URIlCAiEA1Ct6j6Ky6QET+MCKj+i3QEc1XjLrQF0ZBzPBwPHfLOE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS+FPCRA9TVsSAnZWagAAEREP/09DBKGSgssbJraMEbMP\nmf0Oqaj1k97fO5UunJiVxyMQ+02tlJWGzy8a4O18awgIfEV7FUfetL5z/gm+\nQMfpR0GgrB1a+D4DiehsT9LnadaVZoM3+4tVTEbm559csplRgerYKzyyWRtl\n25cLxImTa/OjKw4eB56EspY3x0BCYy0tFY+6okKJzVRZLT7jBW4ZMrEoHe/v\npuFWNbYqUobonhmbyav7U4UZSkenlWkxJjA7mzKZLKGh88co7GtGz9BcWTcS\nKMgy15KC/zh0n0DJkM4dUXTXS9gVntHMZoHXFaB3gHTpJTFDUjY5PLPM9Co+\nzpeCWB3Z7NT+2cyXWD1XzC+VZvTFdIUOXi90yBSSTcdi7GLttVNkKKeyTC0R\nHlafdz59vE0Pbw1o8+Dsl2Kyz5gOsb2oLNA4E7c6klqk/Vj6b/4KEF2TVgCa\n+fOBTj5yxcl2P1lA5GWtQMTl4HE4DeYS2VSQcU0fVb53q1qyO71gvFO1jmcI\n49MFeFB/B88/6dUiqFjnltFPKkXQP3o1nxYXDzxKF0oSOyMVKqsnmfJhu1np\nxf7mL3eVFoiHAUCJsqWeY89jmgiSZgmW1JAvyNuS2tLxi2/MHF6WSEgHAeY3\n3FtSUdK1l3WqtoYCNbc4h6VAYVVSwy8/DNlME1ukhdpoLOrcf0YpSkoCzj7k\n54QN\r\n=dMHm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag wp1 --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.2","@sassoftware/restaflib":"3.2.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.2_1615585615473_0.8108363574123072","host":"s3://npm-registry-packages"}},"3.2.3":{"name":"@sassoftware/viyacaddy","version":"3.2.3","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.3","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"23a80083ee13ab10614bd7b2e3af65fcd4957bdf","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.3.tgz","fileCount":23,"integrity":"sha512-zo6HUzBfDh7/uz2iFuW8/lmbT9d7TtPsTKtnn1mYOG+LJoyh+uRcEoU5knJvaD2Q+X/ir23/ggFAT7o158Z2yg==","signatures":[{"sig":"MEUCIHcgOmTgdiVYjF664/NOHgPSAcSsfj+BtCE9NG2fP8V1AiEAmbcBjD4J3PwsjR65yvKK0VJLMukTV+ahI6yWA59fbBw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgS+lwCRA9TVsSAnZWagAA3Y8P/Rvv5BYd6XNaaZyfWws2\n7HYvWjNufqhkhwsj6BPUT4l3l/JSnmsnEG99UFnFHYBAEho74+cDk0Nf8GMW\nPmanM3nK84aCHwPXgLYdhj2zN8ly17BodlzzF0SnEdjXIFTrqJrzCcl9Gjv5\n+dDmWOFqheCTJ0DaslKEZRTf+jEGwWmd/9Pnhb9ZelsUWX/6uF9BbZ5WblIZ\nmGzQCNnQHrikuZ/UAgghXeA5QEvaVVKt36iWQ1RE5hwmKd6tOZiTnhwFz2kD\nBtLljxl4YbCOWlpA9J0kcjheMgGbO+Hb+nAIiY0VcJo+M9T7hwLsNVlcWwq4\nma1/J9gzof0Qp5pJVR8Py6qGKG8LMQY7SvrsABw2VmcPNHVSmyhqXnPro+xu\naCNZsf23WuqFUBIuYWi+7XGIFHjdNf3Qwx4APSAzuno7J/L+TKbUct2isD5D\n8g2Edv22Aav3A5kQiWYhl9NHsk3nsCRrajVXyXZGnETjoKFepyhegFtvBnb2\neZ1fWbaUK5t0fznvOdfqQerN7qZyTEzFoLyuohbZU7TaEIqzvtWMIqXJIktI\n3Q1NDSp2j4ls2RUC9DepngEGZwmT3zfpNl+ecGHimdwwNCCyMuUtLZOheynG\n2AuCuQuWyzpGW1sholzshc9VG61Od6/Bw9VzEqQe9mec7g2CaO75yJw2RnDA\nlmrZ\r\n=/bDP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag wp1 --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.14.10","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.3","@sassoftware/restaflib":"3.2.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.3_1615587695583_0.49681850424879426","host":"s3://npm-registry-packages"}},"3.2.4":{"name":"@sassoftware/viyacaddy","version":"3.2.4","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.4","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"03103afd6d3dddf7259d50476e6f65385eaffc97","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.4.tgz","fileCount":23,"integrity":"sha512-5A1uDLBC2N/osWvZ+bQB2a2qMT2GAtbgQRsOD2Um4Y7XQd4eGHkRauO2+5S2Z9zkIte6rEDy954+7yUc2eTxRA==","signatures":[{"sig":"MEQCICX2mSwVh/GvKKh9st+qp2+avdmqKhq/GdSIITe32C46AiAXir/CZ6K7Uqtk0qRXrQUysDxFxfK3LqF9U+JPnLlLkw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTPDZCRA9TVsSAnZWagAAOEYP/jxebUd6jEf3Omr0Gdhv\nowos9t56nGiS7fRYCYI3Egxy5cIjGvdRw/1bC6QCGbyi+p+kfxnQmR35Fvva\nn5rZgBXvWQhEHtKx3xvIAcuxxeAp8C3im1YkYqSM8u7B+Q/f/X+AwLhW7jeW\nd7Rw11CNBTFl2uRdrc3NuPsniq8qEnDVAnXSFfwARXvPI/C7NrLMeO2sv0Si\nL84v78kSjGF3o5OVRJCgCYkcYuT1zS6SSZ4+BJVU8sNQox92ltrCw3Ji4yM/\nflx95H2dlVRjYfNAFYY8V5OVw//fTvzOmM2djvaYKTes5IA00vPQO08o/mdc\nVbC9ayQ74DS88QdjpM+lRQuFME2oLKxHHZwIzU8YttC6mmYIPp0jeKWyJZLI\nZ6eIBRNKzcx3vigGLHogy0MiB3b4bWyrOc+gUbjdQ+76z6+8KhVJLlVyeTo4\nCzNgOg2l3FCWT9LD2+ii/CYzUq90F3mN4oKFQqxTCdSvTm6QWZtpgD90FFXt\n2HLL4+oPEUNSHXoOfqgEk7fh3bp5wtF2uENuCZdNjP6ploMxIB30DZnamiFo\nIFOt+j83NvcWSXwkekgt1KsODLNJZYjo1VI30xicp/2wCWJ7RNmQM92nwShr\nKm9wcV2pZrO3VE1Y3bckAWOStVS++Fipq+wH2hJ9MxO6PnhXXlPK9Yly+S/m\nZ+kd\r\n=HLlR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag wp1 --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"7.6.3","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.4","@sassoftware/restaflib":"3.2.4"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.4_1615655128751_0.8404032015288772","host":"s3://npm-registry-packages"}},"3.2.5":{"name":"@sassoftware/viyacaddy","version":"3.2.5","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.5","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"664d147b4109a22b8f08a558aacb022c91ec43f9","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.5.tgz","fileCount":23,"integrity":"sha512-ob03kCimuSPqa2DlbNHwTMYxJOa5Yx0phmlX4luJhEphQyx5qRuyyxJj6Kj4BV2CjGqUrk7mMhf6oOqPk8RM0Q==","signatures":[{"sig":"MEYCIQC4eBilHK79rZohZYHTG2B43G1SLwrnoO3lA14COSkaNgIhALGcrURj2KvdiP6byUvXoFh+tFNVLBy/mLkngSc6lk6T","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26457,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgTQRGCRA9TVsSAnZWagAA45AQAIs42ajTE5eJsydCbNMM\nNyn+sWvwC/9539xtE64JyO//vqNmEucs5xvo54y/8Abg/Rl9uRVVYs0yWzld\nxuUTArIL9I5OP969I25wcuSOVO58hrFEsiU5IDVgDAZfi2QFFAwsSz48hpdb\nO6RQJqkRFnPclxX8Ci+Uzp5ZlZJwLY1rZIPNtOiGO6D3u4a9C1To+D2ftSzK\nYsc5WcLijJA8CHyTXgDZIWyF6DvF2uu481LLJIvTyKx97kjg5kCMJUYULjew\nTQUT/Ma9N7BhykxpOKd/BNr6u0ouOjp0tAkmx46mZHRDFHYF+27NPxdwcni+\n56xYV+oaQwXruTEItqaXYshKljefAVS+ZJltLrcbjt/HoylZ7jca7ADDcFWG\n+7UHtVK4CDe6dv4iUgGwczcxuajmt97c/K7aUgN4RLG63JLIM2YlBr7cxoAg\nvm1HaMdfr8g3oemgEWUZosBLI5XHzRooDwBlVY1lO5Rhilx1wbk/aacVnlpM\n3KLmE06NogPOxF0bkIckrxCW2+8Pb9CNHoll0V4pOBzTzCRd8aiP6pLXHKS7\nHRBpNNufLY0HtYwSPKrGVw1VhMZH5aMGBndMXoqTIS/w15cYGia1wcBQjlyh\n6l7fd18OBDxW2V4yqb/l1PWNj9elNNF8BLHNb647yXZ6RMbKF+TrkXplJYFN\n0R4K\r\n=kSIZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag wp1 --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"7.6.3","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.18.4","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.5","@sassoftware/restaflib":"3.2.5"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.5_1615660102411_0.5882644355987479","host":"s3://npm-registry-packages"}},"3.2.61":{"name":"@sassoftware/viyacaddy","version":"3.2.61","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.61","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"b478fcb41cf635f55a69cabbce02ab54efe525c0","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.61.tgz","fileCount":23,"integrity":"sha512-5w0G8aV0zOn2KeaniX5ifZ1HxRf5HNbCsqvg0Y9sNyn7jRQBOxN7bp2PBIf3tO5GeX9vBz+tz0dxQI/rPjKeyg==","signatures":[{"sig":"MEMCHwgSJgHc0XU1eYvwVOjqf/PBT37PxKiN3/efHYmP8RsCIGvinvXXa/58URi/QoOJMSOgpdmc+9zmMkrGtNZwW0ye","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWi3DCRA9TVsSAnZWagAA3eMP/3rD/e5ZBRtNeV2V/XAA\n+/DT08BnC24bo2Btck/HA7vCFXrxBez9ae+KJXqnWG9NB88AtrEDVi42Q2pl\n4zYjJVrIhheXrG7gF5YKGuIXzBItJebHxj1lWa66/J7MSx6WWDKzyp5m1kHA\nDMM+8aK9/aBwLSJm4cDTzDPytrfuWDTyYqv3B9PrRjRFn3ZPF5y1HuyPXNcV\n8Kpn7O/9hfKfU4FqBHqRAM6rOx5heuQ89bsOISUVFN9JGEpFAGqYZ8wHaMeI\nLDr1liBEzeeGBrg6Hu7b9MMXoU+5K1d+fZCW11kkJ/AMS5aGoRPF4Va5BQdH\n0L/5/gvurNz+DAls1K4iE24SwIotz7teVCyjzosCYrsooHmx56y0hPpEjpYA\nqF33JJqcd21aVUHu6c8uaDweXtSGrwq+8uRZyOulXKdveEbddli8yiao4bWC\n9LSkbYq9n+ZMSEAME1pssyZDpkvtu4o91TGU8AULv8ptN3j475Rc3Wpq6Ebk\nuNgPz9plY6Y86u0MMNX8a3BYE4R7l4v2yqYG5yk8y6vl4SgGWM37DqoKx02/\nbeh9ZAvBmWMXaHRnwAgdJkS7MDAV2u5fv6UGXB/8gq1+rQpiOXme9Seb7eUj\ndufHVaQOP1T7c4DV2H2KPTrgGyJuoiEGWXrnqdrQylUWe8LwcybO4GURxBZ9\nQb/l\r\n=/z8i\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy","type":"git"},"_npmVersion":"6.13.4","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"12.14.0","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.61","@sassoftware/restaflib":"3.2.61"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.61_1616522690895_0.8712383356373088","host":"s3://npm-registry-packages"}},"3.2.62":{"name":"@sassoftware/viyacaddy","version":"3.2.62","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.62","maintainers":[{"name":"bjtomlin","email":"ben.tomlinson@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/tree/main#readme","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"913e5248c1f25ca155d2d7b549475fc61a33406f","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.62.tgz","fileCount":23,"integrity":"sha512-3olbrMVX/h+EfStVZo63Z43Q14ugQv0bTc/LlLu0tEQe4vmGPTGF5IWIQILmzF85VJClPn2IV1A7la1g2eAp3g==","signatures":[{"sig":"MEYCIQCHAnZcO/q4Yukn803k3cKLvXYxpbhRT7LiM6QP17D/OAIhAMO1H6eu22eK5F+pqJQokfKe2OxP91Ts2R/K2+ns9ARV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgeH7UCRA9TVsSAnZWagAAXkoQAIZ/MSncYytORzGLsZjV\nZUfQj7RaGlYZ/zjPP/Igpx/xG3jymHtRi+8lhwrpknI6qBeG/xe9yVOGLiPI\nMiqEMO1jKTPz5PUOQBwV65x7wf1kEaIYKTKMGrfprep3bKN9mLaqp9tYE1Ju\nY3FJmnvjV0Hq4ZxVQTiEEz9bVd6f/1oHdzjCBUM352ZDS2cTcNZT0x7zY92f\nMCxWfjRIyvQYolCceL3D/OErmPTNphu4U2iFqjJ9UJY/tgkxj8wP1rOPvy7N\n/QBYa16KbfdGVCM4YaMvBIAmW+lhZmm7FbhhuYQQLs1zIlCuCEbKbR8A+2fl\nbvIJRLuIw1xzM6+YBnmxhUZ0b9W5jwNBr31ftdjYX6UpM2QN7oHgz35l3Rqp\n4UxPZFSZu18QqpxIVMfewMHe7ASomt0dNJT+qVN+S7qJuDmqMbH8B433p6O7\nd2K9+Nuz4MgP3xqY1nbTrbiL8h6uyYTYbekEgrZGrXQDScgspFFAJ/0DvxC3\nr5OHjFpaKswHuP4LRYTOMAJTJOQoy/bQxj5SEDm4e5kpTg7fsXFbHhchaTIA\n8mSRNkNvVN1Ef+G4pSijFdbSXHPtO0bVUzvMjNWScVeJtsB+1mXNpQ6glENL\nsBklNiq8A46FsdjZOWWJ6tSqxQ+pN9JPTuoCjdSvFVrczXJmEpgxWT+HLtdj\n4iZB\r\n=eHAW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git#main","type":"git"},"_npmVersion":"7.8.0","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"14.16.1","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.61","@sassoftware/restaflib":"3.2.61"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.62_1618509523938_0.588202638964918","host":"s3://npm-registry-packages"}},"3.2.63":{"name":"@sassoftware/viyacaddy","version":"3.2.63","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.63","maintainers":[{"name":"bjtomlin","email":"ben.tomlinson@sas.com"},{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/tree/main#readme","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"8273a6cdfc1f72b13c6baa3c04e68accc391bc67","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.63.tgz","fileCount":25,"integrity":"sha512-MN30OEksk1iDuTKlE+7B3wO78ZIJ5xwP0IfmdRJicjxd2PWZ6jHryvIVWgyJMxm3LmSr1Y9JXuOK9+HCOWmJrg==","signatures":[{"sig":"MEUCIQD6jhlwhjW+mgknWZwMZJYJrZoAG0u8bVdAR7ptcCc/HQIgNDVn2kmVM4I12xTddiEOu9kMXh9/Gi79PDQHBPlGYNE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30959,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg6kfZCRA9TVsSAnZWagAAQa0P/3UJsYBqiTF+tm+RGWs7\nPBZUnBW1q3Tw6OvzDpqhE+7rMdUsKXdha5Fq5DU0PeQDP4VJzWeR14cJOwAQ\nM882tXASPDxzq7jExGLWbTv2kB8ujb2f6du1O5h/g9j27r/fqUeVYFZ6DRqK\nkLj5RO47CHt7V7citd5v3cd1el6wDvII/waxjM90OUpYpU0ycmlW2JSj7TUE\nVhNv8vAPXnROPmNHGOwzM6hd8tg1VTDJCyiBJzYGUdG9hJeBB5FQ99wWhjas\njtzwmueLmehPmVG0D1D6tId+FYzVfooXUYCO0QMo9xJOhjgxNvGn5FfcXI/B\n9wqH0IvaabAQx8PxUA13xBmTmDAe13v4yht63EgL2/+RPgwmTV8GAT9fOB7D\nBVWlB3N704SDUqv7L/tegmyzjflUVF4jSoRcKE+0YM09swMVdaU64FIA5h6g\nxYjf5VVCKsVZEbEpNhW627/Sv12DQrMizF3KF1D/Xs7zdknf3qmoWZ3bryj3\nYpj/dVdy4h+htLguIqBDIzBYOa/lrn0LqNZFQKzCNcz/ekFOxOM8X2MTjNyb\nT6xdhaeLJ3NUClrFoAiWBG0tdGUQyCcEYCosah45WkjhF8DuanURRYbkRzy/\n2gFY09ye8pbiCqNAYj5MGhu35odv/psRFyULbwhMd04osNZMZXtBgXCWsPJP\nUlSs\r\n=wyS1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","engines":{"npm":">=6.13.4","node":">=12.14.0","yarn":">=1.22.0"},"scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git#main","type":"git"},"_npmVersion":"7.8.0","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"14.16.1","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.62","@sassoftware/restaflib":"3.2.62"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.63_1625966552977_0.31581960863933434","host":"s3://npm-registry-packages"}},"3.2.64":{"name":"@sassoftware/viyacaddy","version":"3.2.64","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.2.64","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"bjtomlin","email":"ben.tomlinson@sas.com"},{"name":"jolyna","email":"Josh.Lyna@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/tree/main#readme","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"aa55e5d9bcfca49bd1b91a239d301929b83fc83f","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.2.64.tgz","fileCount":24,"integrity":"sha512-ROIxu6i6mfsikJvEcmb6gGP1fiq1nqphMgU2HrHdFapwxYx2rSnBFCbVfdYGke/ZACWrTwWna6AKcdQO2lSPOA==","signatures":[{"sig":"MEQCIEqMQFTCn8VXt8c2q9VLQmfJJT2xmBftB5KCiBU6TJ9oAiBZCrOfekPRPs3cmtSmGcMmGVmBKw/6aKmMzgkc7AfLyg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/EeHCRA9TVsSAnZWagAA/dcP/3/NWyZNQF/U1WaSWgoN\nhiqlg7ENxX7HUFp9pdHtUO2GIbv/2N9hisgl2sYfQaudT04MKPqxlRM3L0q5\nYj5Pmljfqmri+7YA9P4L81VskbapGwnb/2e/VYg6ud9elbHMzk+k9Z9gNAn4\n+LoUeDGFUvSvbfDCU+aeqVF8cZM13UGBq4vnXp3u5D/qTtciMZtRfE9HXLO6\nnPsMGT0mVO9N/7mEzZcr89dThHeKfE8S33BzXP3ZPTBu1K95v632wnYNyDh0\nbHTThPFarE3AO+V5b+Uf4T2fx0bJKPijalN9WkJumglfQplf4wx1LBUGLXbt\nUJ+ugrnMNMx6Z68F4Z/TFg7Rfknzjp3Irbs55RE96/RLYsZTEqKpBKmhq5/n\n1zYXlj94HB6Ff6uCNvIKT4pysVEwvDDXFV47kU68XxHEMKtybmA3vuxto50H\nsyrx9FHk7UZqrv8e6tX+jBLZVJbdCN+sV5L7q/vGU6cC0sGjs+YokRp4UzAJ\npvitHRvv4nQURU9s5iORyGoWzsl8JFs+I1Eepbs1aqD9sjoTYQNFjtGKkFog\nmNqNsbDC1GhPG1OCjLC0NJ7ZqrxF5dhoRlOycjh1tfauDnqjvnFJYCzZCyRf\n64efj4I7ZKcc314A2dybDmUZnIdCFJUz7p0sXFY7s60lrY0uowqPQRAo+RFB\npYU5\r\n=LptO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","engines":{"npm":">=6.13.4","node":">=12.14.0","yarn":">=1.22.0"},"scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git#main","type":"git"},"_npmVersion":"7.8.0","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"14.16.1","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","@sassoftware/restaf":"3.2.63","@sassoftware/restaflib":"3.2.63"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.2.64_1627146119484_0.4449837917839943","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@sassoftware/viyacaddy","version":"3.3.0","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.3.0","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"bjtomlin","email":"ben.tomlinson@sas.com"},{"name":"jolyna","email":"Josh.Lyna@sas.com"}],"homepage":"https://github.com/sassoftware/restaf/tree/main#readme","bugs":{"url":"https://github.com/sassoftware/restaf/issues"},"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"b7581e3ec27b0c5b9227563e70fa7d6507903b68","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.3.0.tgz","fileCount":24,"integrity":"sha512-0bbOjwyyck742NayZdHb2l68zkIvlwZKZWBuV90lkr944WS+NXdTDflNhmVSZvHL2T1MU+x8mQRbiz5L1zAm+Q==","signatures":[{"sig":"MEYCIQCD9urKbPSlSBG0NSwIIc5jVcnrSSMzAX7d7LOnjdSEUwIhAKeVVOIpvDMgxHzVRRIq+uGPRO3qRLmtxmYFLsYnpWFg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30690,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/E7PCRA9TVsSAnZWagAAPacP/RoMhU27J5Djr9cygl7L\nvMseqMFDhaFxSMfl/6yABTXx+FOxuTHhBAdG3Rer+x65t4PmiK0b9hdXQJ/p\njNFH8USipmwu1DK00+ITwig1rxtraQGwaAzZKgiegIeJQY812VIfR6iXgx7b\nEzVBvQt+UD+LNWky9zOVOe2ocCVTvu0mql6hxGdHbfcAhVf7fF8K01OYH4Zk\nQJ9TEli38DRZ491hRbZg04cfzVlFGnPHYeczUpbH6EewBMTcUIOph4pH/Aei\nrhpS4r2rWs9xs3aLw9reFAUvjm3+CWa6DufriC5Uz9/gXwLW4CRVC4zlHD0i\nI8mtjTLn1I/93xjMv7xsWo94Lc5JvqIM2M/EdcXQaaiFvHI8Koy/Vauccbiw\nArnEQ7gESx+i1dXzKbu/x1oAM6VybVCzYSykc8YlOLgSenITsAxAgNoKAXCX\n+b9z+D7uKGkM786eLw1GmwJ7p8y9N5L83xt+Gkg+KSKPU6ly8VZ4L+wPqUKL\n3NM0GozsNl/04XpieGIhkz7hNZLK2iSX9J+kQlbY0w2tbGYaI2M6iacgUusu\nIn2DMNBX+OgpRLKZuq3FDswGVOLffCbz7k0QYFLBjJFGGvD2f4tt5Fe58LYu\n2JfTZapG27Mz3cDxIrmqWAXEQipWdLHPiBjK1jnu1LHo9YBZS07lszRUrSOU\nt9UF\r\n=ikV9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file>\r\n```\r\n\r\nYou will get prompt to enter commands.\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\n```\r\n\r\nNote that the default clientid sas.ec (no secret)can be used (consult your SAS Administrator).\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file is now augmented with an userid and password as follows:\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nCLIENTID=<a password client>\r\nCLIENTSECRET=<a client secret>\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","engines":{"npm":">=6.13.4","node":">=12.14.0","yarn":">=1.22.0"},"scripts":{"pub":"npm publish --tag test --access public","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf.git#main","type":"git"},"_npmVersion":"7.8.0","description":"collection of clis using rest apis","directories":{},"_nodeVersion":"14.16.1","dependencies":{"qs":"^6.9.1","yargs":"^16.2.0","vorpal":"^1.12.0","set-versions":"^1.0.3","@sassoftware/restaf":"3.3.0","@sassoftware/restaflib":"3.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.3.0_1627147983712_0.675817266915679","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"@sassoftware/viyacaddy","version":"3.4.0","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.4.0","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"bjtomlin","email":"ben.tomlinson@sas.com"},{"name":"jolyna","email":"Josh.Lyna@sas.com"}],"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"0dd3f2c0bcee26aea82e32755879473aef21196a","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.4.0.tgz","fileCount":24,"integrity":"sha512-bdbbFraBoAumKHeJh9MYMF6YOdCwU3ThThOealaltdhvK0Hq/VWMN3ZUvNdch1c6Phaatib81sVPBKfB/fzZQg==","signatures":[{"sig":"MEUCIAOwCq2xXixxwI1XI7caw0RAcFHk6+QHdhiJy3X4u9j7AiEA6gTkbG987S1svfzwMP17tVDIDkaw7e0udemdgm1U+X8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":33382},"main":"./cli.js","readme":"\r\n# Introduction\r\n\r\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\r\n\r\nThis cli is useful for:\r\n\r\n1. Exporting selected VA reports as json files.\r\n\r\n2. Importing Va reports stored as json files\r\n\r\n3. Importing hdat, sas7bat, csv files into CAS\r\n\r\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\r\n\r\n5. Importing .astore and .sasast files into sashdat\r\n\r\n## Installing the cli\r\n\r\nYou can install the cli as follows:\r\n\r\n     npm install -g @sassoftware/viyacaddy\r\n\r\n### Notes\r\n\r\n1. If you do not have nodejs installed on your system you can use  \r\n\r\n## Usage\r\n\r\nThe cli can be run in interactive mode or in \"batch\" mode.\r\n\r\n### Interactive mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy --host <viyaurl> \r\n```\r\n\r\n\r\nNote that the default clientid sas.ec is used.\r\n\r\n### Batch mode\r\n\r\n```sh\r\nnpx @sassoftware/viyacaddy  --env <your-env-file> -- file <cmdfile>\r\n```\r\n\r\nThe env file has the following format\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nUSER=username\r\nPASSWORD=password\r\n```\r\n\r\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\r\n\r\n```ini\r\nVIYA_SERVER=http://your-viya-server\r\nTOKEN_FILE=mytoken\r\n```\r\n\r\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\r\n\r\n## Current commands\r\n\r\nWhen data or report is imported, the cli will delete any existing file and create the new one.\r\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\r\n\r\n### Basic commands\r\n\r\n- logon - to logon to Viya. This command will prompt for username and password\r\n- exit  - to exit the cli\r\n- help  - get help on commands\r\n\r\n### Utility\r\n\r\n- caslibs  -- lists the names of all caslibs\r\n\r\n### Tables command\r\n\r\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\r\n\r\n        tables import <input directory> <list of files|*> -c <caslib>\r\n\r\n- tables list -- to list the names of the tables in a specific caslib\r\n\r\n        tables list <caslib>\r\n\r\n### Reports command\r\n\r\n- Import VA reports from specified directory into a SAS Viya folder\r\n\r\n         reports import <input directory> <list of names|*> -f <folder>\r\n\r\n- Export VA reports in json format to specified directory\r\n\r\n         reports export  <list of reports> -d <directory-to-store-reports>\r\n\r\n- List reports in VA\r\n\r\n         reports list   -- list the names of all the reports\r\n\r\n### Notes on imported tables\r\n\r\n- sasb7dat,sashdat,csv -- sashdat file\r\n- astore -- sashdata file (schema: _index_ , _state_)\r\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\r\n\r\n## Examples\r\n\r\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \r\n    - **reports import** ./reportfiles a.json b.json -f Public \r\n\r\n2. *Import all files from reportfiles directory into Public folder*\r\n    - **reports import** ./reportfiles * -f Public \r\n\r\n3. *Import files with spaces in name\r\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\r\n\r\n4. *Export reports a and b as json files into the reportsfiles directory*\r\n    - **reports export** a b -d ./reportfiles\r\n\r\n5. *List all the reports available to the user*\r\n    - **reports list**\r\n\r\n6. *Import the two files from data directory into Public caslib*\r\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\r\n\r\n7. *Import all the files in data directory into Public caslib*\r\n    - **tables import**  ./data  *  -c Public\r\n\r\n8. *List names of tables in the public caslib*\r\n    - **tables list** public \r\n\r\n## Sample cmdfile\r\n\r\nHere is a sample command file\r\n\r\n    # import all report in the specificed directory\r\n    reports import c:/public/dev/reports * -f Public\r\n\r\n    # Import a sas program\r\n    tables import ../../data Cluster_SDOH6.sas -c public\r\n\r\n    # Import all data in a directory\r\n    tables import c:/public/dev/data * -c casuser\r\n","engines":{"npm":">=6.13.4","node":">=12.14.0","yarn":">=1.22.0"},"gitHead":"bb9524a38d8b2d3dfbeda294885444116404db7c","scripts":{"pub":"npm publish --tag test --access public","build":"rimraf -rf lib && babel src --out-dir lib","start":"node --no-warnings cli","dkrbuild":"docker build","preinstall":"npx npm-force-resolutions"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"https://github.com/sassoftware/restaf-demos/tree/viyacaddy","type":"git"},"_npmVersion":"7.6.3","description":"collection of clis using rest apis","directories":{},"resolutions":{"lodash":"4.17.21","inquirer":"8.2.0"},"_nodeVersion":"14.16.0","dependencies":{"yargs":"^17.2.1","rimraf":"^3.0.2","vorpal":"^1.12.0","strip-ansi":"^6.0.1","@sassoftware/restaf":"3.4.0","@sassoftware/restaflib":"3.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^7.31.0","core-js":"^3.15.2","@babel/cli":"^7.14.5","@babel/core":"^7.14.6","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","@babel/preset-env":"^7.14.7","@babel/plugin-transform-spread":"^7.14.6","@babel/plugin-transform-runtime":"^7.14.5","@babel/plugin-syntax-import-meta":"^7.10.4","@babel/plugin-proposal-decorators":"^7.14.5","@babel/plugin-proposal-json-strings":"^7.14.5","@babel/plugin-syntax-dynamic-import":"^7.8.3","@babel/plugin-transform-regenerator":"^7.14.5","@babel/plugin-transform-strict-mode":"^7.14.5","@babel/plugin-proposal-function-bind":"^7.14.5","@babel/plugin-proposal-function-sent":"^7.14.5","@babel/plugin-proposal-do-expressions":"^7.14.5","@babel/plugin-proposal-class-properties":"^7.14.5","@babel/plugin-proposal-numeric-separator":"^7.14.5","@babel/plugin-proposal-optional-chaining":"^7.14.5","@babel/plugin-proposal-pipeline-operator":"^7.14.5","@babel/plugin-proposal-throw-expressions":"^7.14.5","@babel/plugin-proposal-object-rest-spread":"^7.14.7","@babel/plugin-proposal-export-default-from":"^7.14.5","@babel/plugin-proposal-export-namespace-from":"^7.14.5","@babel/plugin-proposal-nullish-coalescing-operator":"^7.14.5","@babel/plugin-proposal-logical-assignment-operators":"^7.14.5"},"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.4.0_1635944032299_0.25777131133917974","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"@sassoftware/viyacaddy","version":"3.5.0","keywords":["Viya","restaf","casl","REST API"],"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","_id":"@sassoftware/viyacaddy@3.5.0","maintainers":[{"name":"coalman","email":"tehcoalman@gmail.com"},{"name":"jefurbee","email":"joe.furbee@sas.com"},{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},{"name":"ckedwards","email":"ckedwards24@gmail.com"},{"name":"rbtlevey","email":"robert.levey@sas.com"},{"name":"brmorr","email":"bradley.morris@sas.com"},{"name":"bjtomlin","email":"ben.tomlinson@sas.com"},{"name":"jolyna","email":"Josh.Lyna@sas.com"}],"homepage":"https://github.com/sassoftware/restaf-demos/tree/viyacaddy#readme","bugs":{"url":"https://github.com/sassoftware/restaf-demos/issues"},"bin":{"viyacaddy":"cli.js"},"dist":{"shasum":"29beb1f79c9745114a82c47d9064a52a74f21634","tarball":"https://registry.npmjs.org/@sassoftware/viyacaddy/-/viyacaddy-3.5.0.tgz","fileCount":24,"integrity":"sha512-dpZhUTVxIJ3JTu+kSPmLpZV5h6LO0fcE5TsV4U4mU5hhc17jDi2qNxTmyVlHS6yD+ApJhBbcyR1InlLJas1BJg==","signatures":[{"sig":"MEQCIHSnwuxKWS21uPMsIaBaf1tSzLB291ClIAMBjgs5bpfkAiBC+QA3fnmH44d4eKVDPGf4fPOjITznk/9Hd0aoxXobFQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30952,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhpFSaCRA9TVsSAnZWagAA6RsQAJjJDS8ibZEKhIg15SJq\nNc/WUkxDWbObRpmA1EakgdFHwPjVnhD/nwIeq5Vw+UpbVFFBM6MCtHmxbDBI\nYLCnnhCQteG+g5gZMfvzT7LA5sJvqRPME8u4tLiiJIeIbpvjacw9VbYc49Hr\nk6ksrib105X1EM4XQW2HsJ8DZR4oGGJyBUZBS6cxZphEScLkSNxC+9CqDiZu\nkABPcorKcJjFj+VI7hyh4pkPdxTSDw/4dfjUKJ8NP92zwwwR9ZZyvAU8aih2\nU8zPDEX/DBA2q/JPDbHNALz+GHvTfvTn4ej4GHs9FuIQRMJGg5e5QrjZezpG\n6rxD8y8phCce9ygFEVauRKUCgKEJy+tFEGoGjVYxk2VOviFqOl7js/x8WjVp\neVINbwSHLne+MrDb9lJZTrJaI4ORc/u+pa5+afFJOhoCquViexPZXdOjmTSd\n35Tk6DFbMYwDQ9oZEM2JcNk4HyzZB5E4h24Kr3IV09PTvqu7ghHlCvkIne42\n6hCr6GRL1nXaqHLKcOP27KWcl5Xc2JyQWPip6NvhwwSKuk3wf5xn2YVStgi7\nnXMgFPqcAxjR8hHgyfl8XxQFZwPLXOfMCzl9zRUejeUtYWGiHq++lINVfXTi\nUFs/Yjh6KayMCfhwIcu1OSTdWCsq6Xz439O6unbU3y6pChc2gZiIpyoDRgQS\nf4uM\r\n=jJsS\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cli.js","readme":"\n# Introduction\n\nOne of the common activities is to import and export different contents in a Viya Server. The [viyacaddy package](https://github.com/sassoftware/restaf/tree/main/packages/viyacaddy) is make this job a little easier for a select set of data.\n\nThis cli is useful for:\n\n1. Exporting selected VA reports as json files.\n\n2. Importing Va reports stored as json files\n\n3. Importing hdat, sas7bat, csv files into CAS\n\n4. Importing .sas and .ds2 files into sashdat (for use with scoring actions)\n\n5. Importing .astore and .sasast files into sashdat\n\n## Installing the cli\n\nYou can install the cli as follows:\n\n     npm install -g @sassoftware/viyacaddy\n\n### Notes\n\n1. If you do not have nodejs installed on your system you can use  \n\n## Usage\n\nThe cli can be run in interactive mode or in \"batch\" mode.\n\n### Interactive mode\n\n```sh\nnpx @sassoftware/viyacaddy --host <viyaurl> \n```\n\n\nNote that the default clientid sas.ec is used.\n\n### Batch mode\n\n```sh\nnpx @sassoftware/viyacaddy  --env <your-env-file> -- file <cmdfile>\n```\n\nThe env file has the following format\n\n```ini\nVIYA_SERVER=http://your-viya-server\nUSER=username\nPASSWORD=password\n```\n\nYou can use a previously generated token instead of userid and password. Create a token and save it in some file (say mytoken) and modify the env file as follows\n\n```ini\nVIYA_SERVER=http://your-viya-server\nTOKEN_FILE=mytoken\n```\n\nThe cmdfile is a text file with a list of valid viyacaddy commands. These commands are executed in parallel.\n\n## Current commands\n\nWhen data or report is imported, the cli will delete any existing file and create the new one.\nAlso the new data will not be loaded into memory. That task is left to the applications that will use the tables and reports that are imported.\n\n### Basic commands\n\n- logon - to logon to Viya. This command will prompt for username and password\n- exit  - to exit the cli\n- help  - get help on commands\n\n### Utility\n\n- caslibs  -- lists the names of all caslibs\n\n### Tables command\n\n- tables import   -- to import hdat, b7dat,csv, astore, ds2 and sas files into cas tables in a caslib\n\n        tables import <input directory> <list of files|*> -c <caslib>\n\n- tables list -- to list the names of the tables in a specific caslib\n\n        tables list <caslib>\n\n### Reports command\n\n- Import VA reports from specified directory into a SAS Viya folder\n\n         reports import <input directory> <list of names|*> -f <folder>\n\n- Export VA reports in json format to specified directory\n\n         reports export  <list of reports> -d <directory-to-store-reports>\n\n- List reports in VA\n\n         reports list   -- list the names of all the reports\n\n### Notes on imported tables\n\n- sasb7dat,sashdat,csv -- sashdat file\n- astore -- sashdata file (schema: _index_ , _state_)\n- sas, ds2 -- sashdat - \"model\" table that can be executed with datastep.runCodeTable and ds2.runModel actions.(schema: modelName, dataStepsrc|ds2Src)\n\n## Examples\n\n1. *Import a.json and b.json from reportfiles directory into Public folder*  \n    - **reports import** ./reportfiles a.json b.json -f Public \n\n2. *Import all files from reportfiles directory into Public folder*\n    - **reports import** ./reportfiles * -f Public \n\n3. *Import files with spaces in name\n    - **reports import** ./reportfiles 'a report with spaces'  -f Public\n\n4. *Export reports a and b as json files into the reportsfiles directory*\n    - **reports export** a b -d ./reportfiles\n\n5. *List all the reports available to the user*\n    - **reports list**\n\n6. *Import the two files from data directory into Public caslib*\n    - **tables import**  ./data  iris.csv retails.sas7bdat -c Public\n\n7. *Import all the files in data directory into Public caslib*\n    - **tables import**  ./data  *  -c Public\n\n8. *List names of tables in the public caslib*\n    - **tables list** public \n\n## Sample cmdfile\n\nHere is a sample command file\n\n    # import all report in the specificed directory\n    reports import c:/public/dev/reports * -f Public\n\n    # Import a sas program\n    tables import ../../data Cluster_SDOH6.sas -c public\n\n    # Import all data in a directory\n    tables import c:/public/dev/data * -c casuser\n","engines":{"npm":">=6.13.4","node":">=12.14.0","yarn":">=1.22.0"},"gitHead":"028b2c6ea297da7375859106439ab0b5e05e54d2","scripts":{"pub":"npm publish --tag test --access public","build":"rimraf -rf lib && babel src --out-dir lib","start":"node --no-warnings cli","dkrbuild":"docker build"},"_npmUser":{"name":"devakumaraswamy","email":"deva.kumar@sas.com"},"repository":{"url":"git+https://github.com/sassoftware/restaf-demos.git#viyacaddy","type":"git"},"_npmVersion":"7.24.0","description":"collection of clis using rest apis","directories":{},"resolutions":{"**/mem":"^5.1.1","lodash":"4.17.21","**/inquirer":"8.2.0","**/glob-parent":">=5.1.2","**/yargs-parser":">=13.1.2","**/node-notifier":"^8.0.1","**/trim-newlines":">=4.0.1"},"_nodeVersion":"16.10.0","dependencies":{"yargs":"^17.2.1","rimraf":"^3.0.2","vorpal":"^1.12.0","@sassoftware/restaf":"4.0.1","@sassoftware/restaflib":"4.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.6"},"_npmOperationalInternal":{"tmp":"tmp/viyacaddy_3.5.0_1638159514329_0.7192888619478981","host":"s3://npm-registry-packages"}}},"time":{"created":"2020-01-03T02:23:34.543Z","modified":"2026-08-25T15:20:41.589Z","1.7.5":"2020-01-03T02:23:34.929Z","1.7.6":"2020-01-04T16:02:43.676Z","1.7.7":"2020-01-06T02:47:35.623Z","1.7.8":"2020-01-07T13:44:46.157Z","1.7.9":"2020-01-07T20:37:45.944Z","1.7.10":"2020-01-22T16:39:32.148Z","2.0.0":"2020-04-07T18:50:10.975Z","2.0.1":"2020-05-12T18:51:20.212Z","2.0.2":"2020-05-13T22:27:45.758Z","2.0.3":"2020-05-14T15:11:39.130Z","2.0.4":"2020-05-14T15:42:39.218Z","2.0.5":"2020-05-16T14:02:20.954Z","2.0.6":"2020-05-16T14:38:50.969Z","2.0.7":"2020-05-18T16:21:04.647Z","2.0.8":"2020-05-18T16:29:05.549Z","2.0.9":"2020-05-19T20:27:01.569Z","2.1.0":"2020-05-31T17:49:15.262Z","2.2.3":"2020-08-24T19:12:14.035Z","2.2.4":"2020-08-25T15:06:32.947Z","2.2.8":"2020-09-06T18:52:38.172Z","3.0.2":"2021-01-13T16:45:52.760Z","3.0.4":"2021-01-28T15:17:17.856Z","3.0.5":"2021-01-29T14:03:49.928Z","3.0.7":"2021-01-29T18:24:09.421Z","3.0.8":"2021-02-01T13:58:10.764Z","3.1.0":"2021-02-03T15:18:16.956Z","3.1.3":"2021-02-04T21:05:17.337Z","3.1.4":"2021-02-06T15:21:03.991Z","3.2.1":"2021-02-17T17:01:53.306Z","3.2.2":"2021-03-12T21:46:55.659Z","3.2.3":"2021-03-12T22:21:35.815Z","3.2.4":"2021-03-13T17:05:28.891Z","3.2.5":"2021-03-13T18:28:22.552Z","3.2.61":"2021-03-23T18:04:51.020Z","3.2.62":"2021-04-15T17:58:44.083Z","3.2.63":"2021-07-11T01:22:33.104Z","3.2.64":"2021-07-24T17:01:59.638Z","3.3.0":"2021-07-24T17:33:03.828Z","3.4.0":"2021-11-03T12:53:52.483Z","3.5.0":"2021-11-29T04:18:34.520Z"},"bugs":{"url":"https://github.com/sassoftware/restaf-demos/issues"},"author":{"name":"Deva Kumar","email":"deva.kumar@sas.com"},"license":"Apache-2.0","homepage":"https://github.com/sassoftware/restaf-demos/tree/viyacaddy#readme","keywords":["Viya","restaf","casl","REST API"],"repository":{"url":"git+https://github.com/sassoftware/restaf-demos.git#viyacaddy","type":"git"},"description":"collection of clis using rest apis","maintainers":[{"email":"joe.furbee@sas.com","name":"jefurbee"},{"email":"deva.kumar@sas.com","name":"devakumaraswamy"},{"email":"ckedwards24@gmail.com","name":"ckedwards"},{"email":"robert.levey@sas.com","name":"rbtlevey"},{"email":"bradley.morris@sas.com","name":"brmorr"},{"email":"ben.tomlinson@sas.com","name":"bjtomlin"},{"email":"Josh.Lyna@sas.com","name":"jolyna"},{"email":"stephen.mckenna@sas.com","name":"mtlsmc"},{"email":"stephen.gemmell@sas.com","name":"mtlstg"},{"email":"ryan.auld@sas.com","name":"ryanauldsas"},{"email":"kenj55@gmail.com","name":"kenjackson"},{"email":"harry.moore@sas.com","name":"mtlhmo"},{"email":"martin.coutts@sas.com","name":"martin-coutts-sas"},{"email":"robert.macfarlane@sas.com","name":"romacf"},{"email":"timothy.crider@sas.com","name":"timothy.crider-sas"},{"email":"Daniel.Arthur@sas.com","name":"daarth"},{"email":"ewsken_sas@outlook.com","name":"ewsken_sas"},{"email":"Bryan.Behrenshausen@sas.com","name":"semioticrobotic"},{"email":"barry.peddycord@sas.com","name":"barry-sas"},{"email":"nurb.lampert@sas.com","name":"nurb.lampert"},{"email":"craig.mckay@sas.com","name":"mtlcmc"},{"email":"naji.shehab@sas.com","name":"mtlnsh"},{"email":"tom.mceachan@sas.com","name":"tom-mceachan_sasinst"}],"readme":"","readmeFilename":""}