I'm trying to use the CLI tool provided with this package, but with no luck.
With the JS API, I can run the following and get the result I want:
const sassGraph = require('sass-graph');
console.log(sassGraph.parseFile(
'app/packs/entrypoints/publisher-profile.scss',
{
loadPaths: ['app/assets/stylesheets'],
}
));
But I've been unable to replicate this successfully with the CLI tool.
I've tried the following:
sassgraph descendents app/packs/entrypoints/publisher-profile.scss
sassgraph descendents -I app/assets/stylesheets app/packs/entrypoints/publisher-profile.scss
sassgraph descendents -I app/assets/stylesheets app/assets/stylesheets/ app/packs/entrypoints/publisher-profile.scss
sassgraph descendents app/assets/stylesheets/ app/packs/entrypoints/publisher-profile.scss
I'm trying to use the CLI tool provided with this package, but with no luck.
With the JS API, I can run the following and get the result I want:
But I've been unable to replicate this successfully with the CLI tool.
I've tried the following:
sassgraph descendents app/packs/entrypoints/publisher-profile.scssError: Missing directorysassgraph descendents -I app/assets/stylesheets app/packs/entrypoints/publisher-profile.scssError: Missing directorysassgraph descendents -I app/assets/stylesheets app/assets/stylesheets/ app/packs/entrypoints/publisher-profile.scssError: Missing directorysassgraph descendents app/assets/stylesheets/ app/packs/entrypoints/publisher-profile.scss