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

feat: add code samples for Apify CLI #1359

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

m-murasovs
Copy link
Contributor

@m-murasovs m-murasovs commented Dec 17, 2024

Adds Apify CLI code samples. These are currently under CURL, since custom languages aren't supported.

Some of the commands are still in development, I guess. E.g. the request queues are missing from the CLI.

NOTE

when this is merged, you'll need to go to Actor X8D0L4wfpO8fCL1uL and un-comment curl in the LANGUAGES const in main.js

@m-murasovs m-murasovs marked this pull request as ready for review December 18, 2024 14:39
@netmilk
Copy link
Contributor

netmilk commented Dec 19, 2024

@m-murasovs

warning the code-samples-decorator might have some conflicts with the one in #1340 - this is the true version

Which one? This #1359 or this #1340? :)

@netmilk
Copy link
Contributor

netmilk commented Dec 19, 2024

@B4nan

I propose renaming the "cURL" language to CLI and fixing or removing syntax highlighting for it, ensuring it's the first and default language.

image

@netmilk netmilk marked this pull request as draft December 19, 2024 13:11
@netmilk
Copy link
Contributor

netmilk commented Dec 19, 2024

Converted to a draft, because this needs to be merged only after the release of the CLI v1/next.

cc @vladfrangu @B4nan

@m-murasovs
Copy link
Contributor Author

@m-murasovs

warning the code-samples-decorator might have some conflicts with the one in #1340 - this is the true version

Which one? This #1359 or this #1340? :)

@netmilk #1359. But the #1340 is good to merge, it's just this one will update it :)

@m-murasovs m-murasovs marked this pull request as ready for review December 19, 2024 13:13
@m-murasovs m-murasovs marked this pull request as draft December 19, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants