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

Every public cmdlet should have a -Workspace parameter #7

Open
Clijsters opened this issue Jul 7, 2020 · 0 comments
Open

Every public cmdlet should have a -Workspace parameter #7

Clijsters opened this issue Jul 7, 2020 · 0 comments
Assignees
Milestone

Comments

@Clijsters
Copy link
Owner

Workspaces are an integral part of Toggl and its API. To fully support (mostly) every feature of Toggl, consistent support and accounting of the -Workspace parameter is crucial.

The parameter must be optional for every cmdlet, and should default to the users default workspace. If provided, it is necessary, that every member of the call chain (including private functions and cmdlets of PSToggl) respects that parameter and doesn't throw it away.

This feature isn't up-for-grabs, as I already started to implement it. Maybe that will change in the future, as my days unfortunately only have around 24 hours.

Clijsters added a commit that referenced this issue Jul 7, 2020
Works on: #4
Related to: #7
@Clijsters Clijsters added this to the v1.4 milestone Jul 7, 2020
@Clijsters Clijsters self-assigned this Jul 7, 2020
Clijsters added a commit that referenced this issue Jul 7, 2020
This commit implements Stop-TogglEntry, but without a working Workspace
parameter. That parameter will be fixed in #7.

Stop-TogglEntry stops the current running Entry on the default workspace
and pumps that entry to the pipeline.

Closes #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant