Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

You can alternatively export your PAT as environment variable if you do not want to pass it in with the command. export GH_PAT=<PAT> or export ADO_PAT=<PAT>  #33

@Henrzac679

Description

@Henrzac679

Yes, that's correct. If you don't want to pass your personal access token (PAT) in with the command every time, you can export it as an environment variable.
For GitHub, you can export your PAT as an environment variable using the following command:

export GH_PAT=<PAT>

Replace <PAT> with your personal access token.
For Azure DevOps, you can export your PAT as an environment variable using the following command:

export ADO_PAT=<PAT>
```Replace `<PAT>` with your personal access token.
After exporting the PAT as an environment variable, you can run the command without passing the `-t` option:

or

node src/index.js ADO-org -o <organization>

The tool will automatically use the PAT that you exported as an environment variable.

Hello to Githubs please show me my mistake and put me through.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions