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

Enroll via the CLI guide is using obsoleted commands #15829

Closed
Le0Developer opened this issue Jul 26, 2024 · 6 comments
Closed

Enroll via the CLI guide is using obsoleted commands #15829

Le0Developer opened this issue Jul 26, 2024 · 6 comments
Assignees
Labels
Backlog PR has a related JIRA ticket content:edit Request for content edits documentation Documentation edits product:cloudflare-one

Comments

@Le0Developer
Copy link
Contributor

Existing documentation URL(s)

https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/deployment/manual-deployment/#enroll-via-the-cli

What changes are you suggesting?

Running the 3rd step yields this deprecation warning:

$ warp-cli teams-enroll xxx
NOTICE:

Your organization is using Cloudflare for Teams, a security platform that makes
connections to the Internet and applications faster and safer.

What information is available to administrators of my organization?

The following information may be viewed by administrators from your
organization:

* the websites you visit
* the times you visited them

More information is available at:
- https://www.cloudflare.com/application/terms/
- https://www.cloudflare.com/application/privacypolicy/

Accept Terms of Service and Privacy Policy? [y/N] y

Warning: The "teams-enroll" command will be deprecated in a future release. Please use "registration initialize-token-callback" instead

^ last line

Additional information

No response

@Le0Developer Le0Developer added content:edit Request for content edits documentation Documentation edits labels Jul 26, 2024
@stuart-c-moore
Copy link

using version 2024.9.346.0, the teams-enroll command no longer exists, yet is still referenced by the documentation.

$ warp-cli teams-enroll
error: unrecognized subcommand 'teams-enroll'

Usage: warp-cli [OPTIONS] <COMMAND>

For more information, try '--help'.

@Le0Developer Le0Developer changed the title Enroll via the CLI guide is using deprecated commands Enroll via the CLI guide is using obsoleted commands Oct 11, 2024
@ranbel ranbel added the Backlog PR has a related JIRA ticket label Oct 11, 2024
@ranbel
Copy link
Contributor

ranbel commented Oct 11, 2024

Thanks for opening/updating this issue. We are tracking this work in an internal ticket (PCX-14001).

@pfan94
Copy link

pfan94 commented Oct 11, 2024

using version 2024.9.346.0, the teams-enroll command no longer exists, yet is still referenced by the documentation.

$ warp-cli teams-enroll
error: unrecognized subcommand 'teams-enroll'

Usage: warp-cli [OPTIONS] <COMMAND>

For more information, try '--help'.

same there

@gatesry
Copy link

gatesry commented Oct 11, 2024

Also https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/warp-connector/ references warp-cli account and warp-cli delete which is also not recognized. Let me know if I need to open a separate issue for this.

CleanShot 2024-10-11 at 15 06 06@2x

@ranbel
Copy link
Contributor

ranbel commented Oct 11, 2024

Also https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/private-net/warp-connector/ references warp-cli account and warp-cli delete which is also not recognized. Let me know if I need to open a separate issue for this.

No need to open a separate issue -- we are in the process of removing these commands from the WARP Connector setup procedure (#16486).

@toby-j
Copy link

toby-j commented Oct 11, 2024

Replacement as far as I can tell for wrap-cli teams-enroll is warp-cli registration new <team name>

user:~$ warp-cli registration
Registration settings

Usage: warp-cli registration [OPTIONS]

Commands:
show Show information about the current registration
new Register this client (Must be run before first connection!)
delete Delete current registration
organization Get the name of the current Teams organization
devices Display the list of devices associated with the current registration
license Attach the current registration to a different account using a license key
help Print this message or the help of the given subcommand(s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backlog PR has a related JIRA ticket content:edit Request for content edits documentation Documentation edits product:cloudflare-one
Projects
None yet
Development

No branches or pull requests

6 participants