gluegun: Gluegun not able to parse windows filesystem to execute commands
I have a directory structure like this commands/mycommand/subcommand.js
So ideally when using the gluegun framework, clibrand mycommand subcommand my subcommand.js should get invoked. it works fine on my Mac and Unix machine but doesn’t get invoked in my windows machine. Is it a filesystem issue which gluegun is not able to comprehend?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 24 (11 by maintainers)
@jamonholmgren Just validated the CLI with the latest version of Gluegun and the above-mentioned issue seems to have been mitigated 👯♂️
I’ve also given @cmckni3 the ability to cut NPM releases so we can tighten up our release cycle.
@cmckni3 Would be great if we could get this published. Pretty critical for our CLI…its just crapping out on windows 😕 -> https://github.com/aws-amplify/amplify-cli/issues/29
@jamonholmgren So the original issue mentioned in this issue is resolved with the subcommands getting invoked. Now there is a new issue which came up because of that change. Let me try explaining this out here:
We have our amplify-cli package which is the core package containing the cli.js file with the build() function. Our core package structure looks something like this:
And then we have a plugin called amplify-category-storage whose structure is something like this
So currently,
amplify storage pushworks fine but when you executeamplify push, that doesn’t invoke the function present in the core package -> amplify-cli/commands/push.js but instead invokes the function in the storage plugin -> amplify-category-storage/storage/push.js.This behavior is only in windows and not in Unix based systems.
cool, I have a cli project coming up for a data pipeline that needs to work on Windows. Will probably go with gluegun and see how things go.
I saw that you mentioned Azure Pipelines and I’m a product manager for it. Let me know if you try it and have any questions or suggestions.
Can’t really say since I haven’t updated or used gluegun in awhile. Maybe do another beta, update ignite, and get community feedback?
Azure Pipelines are starting to support Yaml, which is a nice thing! I agree CI should be setup for Windows to make sure no one breaks it.