How to use hologit - 1 common examples

To help you get started, we’ve selected a few hologit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github codeforamerica / civic-tech-taxonomy / import.js View on Github external
handler: async argv => {
            const { commitTo, commitMessage, sourceType, source, append } = argv;

            const repo = await Repo.getFromEnvironment();
            const tree = repo.createTree();

            if (append) {
                // TODO: load an existing tree instead
                throw new Error('append is not yet implemented');
            }

            let outputHash;
            try {
                outputHash = await importTaxonomy(tree, argv);
                console.error('tree ready');
            } catch (err) {
                console.error('failed to import taxonomy:', err);
                process.exit(1);
            }

hologit

Hologit automates the projection of layered composite file trees based on flat, declarative plans

MIT
Latest version published 12 days ago

Package Health Score

61 / 100
Full package analysis

Popular hologit functions