Skip to content

Input/Output dir options#248

Open
denizzzka wants to merge 3 commits into
jacob-carlborg:masterfrom
denizzzka:output_dir_opts
Open

Input/Output dir options#248
denizzzka wants to merge 3 commits into
jacob-carlborg:masterfrom
denizzzka:output_dir_opts

Conversation

@denizzzka

Copy link
Copy Markdown

Fix #243

@jacob-carlborg jacob-carlborg left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include tests and a changelog entry.

Comment thread dstep/Configuration.d
string outputPath;

/// in case there are many input files or dir output option provided
bool isOutputToDir;

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the intention that both -O and -o are specified since this is a bool?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

@denizzzka

Copy link
Copy Markdown
Author

Please include tests

I could not do this so that there were a minimum number of changes.

@denizzzka

Copy link
Copy Markdown
Author

I run it by this way:

dstep -I -O -o ./dst_dir/ ./src_dir/

@jacob-carlborg

Copy link
Copy Markdown
Owner

I could not do this so that there were a minimum number of changes.

I’m not sure I follow. You can have a look here at how to to implement a test:

https://github.com/jacob-carlborg/dstep/blob/master/tests/functional/Tests.d

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

Successfully merging this pull request may close these issues.

Please add dedicated output directory argument

2 participants