Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output Structure #7

Open
daviddalpiaz opened this issue Feb 6, 2018 · 4 comments
Open

Output Structure #7

daviddalpiaz opened this issue Feb 6, 2018 · 4 comments

Comments

@daviddalpiaz
Copy link
Contributor

Specify via YAML header?

@daviddalpiaz daviddalpiaz changed the title Output Structre Output Structure Feb 6, 2018
@coatless
Copy link
Collaborator

coatless commented Feb 6, 2018

@daviddalpiaz something along the lines of:

output: 
  assignr::gen_hw: 
    assign: yes
    soln: yes
    output_dir: "path/to/dir"

Sound good?

@daviddalpiaz
Copy link
Contributor Author

Is output_dir meant to be the "release" directory? Meaning, the files are built internally, but then also certain files are copied to the output_dir?

@daviddalpiaz
Copy link
Contributor Author

Also, gen_hw implies generating a homework. Would there be multiple gen_** functions at some point?

@coatless
Copy link
Collaborator

coatless commented Feb 6, 2018

@daviddalpiaz we can have multiple functions or condense options.

e.g. we presently have:

assignr(file, output_dir = NULL, assign_file = TRUE, soln_file = TRUE, zip_files = TRUE)

The multiple function way could have more clear presets:

gen_assign(file, output_dir = NULL, zip_files = TRUE)
gen_soln(file, output_dir = NULL, zip_files = TRUE)

We can add the parameter copy_to_dir = NULL for the copy case we discussed yesterday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants