Skip to content

Instantly share code, notes, and snippets.

@eriknelson
Created September 20, 2016 16:38
Show Gist options
  • Save eriknelson/934b625fbfb96c30bb3871a8a269f0a1 to your computer and use it in GitHub Desktop.
Save eriknelson/934b625fbfb96c30bb3871a8a269f0a1 to your computer and use it in GitHub Desktop.
import sys
import json
from atomicapp.nulecule.base import Nulecule
from atomicapp.nulecule.config import Config
TEST_NULECULE_PATH = '/home/ernelson/cap/nulecule-library/wordpress-centos7-atomicapp'
nulecule = Nulecule.load_from_path(TEST_NULECULE_PATH)
nulecule.config = Config()
nulecule.load_config(skip_asking=True)
answers = nulecule.config.runtime_answers()
print json.dumps(answers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment