Skip to content
Discussion options

You must be logged in to vote

I need to make a friendlier looking API, but for now you can access the data from any target's file like this:

data = Script.body("DEFAULT", 'INST/procedures/collect.rb')

The paths will always have the target name first, and then the full path to the file in the target configuration.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ghost
Comment options

@ghost
Comment options

Answer selected by xavier-rangel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
1 participant