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

Fix directory handling #1

Open
sisyphusSmiling opened this issue Feb 17, 2023 · 0 comments
Open

Fix directory handling #1

sisyphusSmiling opened this issue Feb 17, 2023 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@sisyphusSmiling
Copy link
Owner

Description

Currently, running swap with an assigned directory --swipe-dest or --swap-dest directory outside of the current or sub-directories results in read-only errors. This needs to be fixed before formalizing into a CLI package

Solution Criteria

The following should run without issue

python src/swipe-and-swap.py --repo onflow/flow-nft --swipe-dest ../my-repo/cadence/ --swap-dest ./src/cadence

Which would take the contract/ scripts/ and transactions/ from onflow/flow-nft, save them to ../my-repo/cadence/ then translate the contents to TypeScript consts in ./src/cadence. It should also be able to handle absolute paths in addition the previously mentioned relative paths.

@sisyphusSmiling sisyphusSmiling added bug Something isn't working enhancement New feature or request labels Feb 17, 2023
@sisyphusSmiling sisyphusSmiling self-assigned this Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant