Skip to content

feat(forms): add gog form publish command #564

@bogdanovich

Description

@bogdanovich

Summary

Please add a gog form publish command for Google Forms.

Use case

gogcli can create and edit Google Forms, but there does not appear to be a CLI command that publishes a form or makes it available for responses. This makes fully automated form creation workflows stop short of the final publish step.

For agent-driven workflows, the missing step means the agent can prepare the form but still needs a manual browser/UI action before the form is usable.

Proposed CLI shape

A command like:

gog form publish <form-id>

Optionally with flags for common publishing behavior, if supported by the Google Forms API:

gog form publish <form-id> --collect-email=false --accepting-responses=true

Expected behavior

  • Publish or enable responses for an existing form.
  • Return the public/respondent URL when available.
  • Exit non-zero with a clear error if the API does not allow publishing for the current form/account.

Why this matters

This would make scripted form creation complete end-to-end: create form, add questions, configure settings, publish, and return the URL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions