Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello Jack Gaino!
I researched a tool to use in a pipeline CI/CD in order to update docs from .md files into Confluence and your tool work very well! But in need for security I wanted to use Personal Token (that can be generated under the personal settings). This is a better approach for me.
So I decided to develop this feature by myself and here I am :D
To add this feature I needed to a little bit refactoring your code as you can see. Maybe one day this code will support OAuth too or an other authentification as-well!
I supposed that will be a minor update so I putted in my version the 1.3.0 but don't hesitate to change it if it not fit your versions organization.
The code was tested with of course the new --bearer-token arg but work as-well with --username arg
Let me know if you're ok with this change and I hope this will be helpful :)