Skip to content

Conversation

@alexjeffburke
Copy link

@alexjeffburke alexjeffburke commented Feb 22, 2024

Provide a central excavators module which re-exports the various named configurations. Use this to implement a CLI recognizing a --excavator argument which will call an exacavtion of the supplied filename.

Rework run_example as a wrapper around this new unified CLI. Expand the README documenting both run_example and unified run entry points noting that in the absence of arguments a list of supported excavators is output.

While here add smoke tests for basic validation of exports and scripts.

this PR is atop #4

Support a directory argument of "." to allow outputting in the current
directory with an automatic suffix: ./_autoarchaologist
Make the minimal set of changes such that we are able to trigger the
excavation to a known directory of the in-tree example file. Check
that the expected HTML files were written for this known excavation
and assert some basic properties of the excavated arifacts.

The commit includes reworking of run_example wherein its excavation is
declared as a class and its core logic separated out into a run file.
This is done both to allow the tests to easily make use of the logic
and as groundwork for subsequent work to provide a unified entry point.
Provide a central excavators module which re-exports the various named
configurations. Use this to implement a CLI recognizing a --excavator
argument which will call an exacavtion of the supplied filename.

Rework run_example as a wrapper around this new unified CLI. Expand the
README documenting both run_example and unified run entry points noting
that in the absence of arguments a list of supported excavators is output.

While here add smoke tests for basic validation of exports and scripts.
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.

1 participant