{"size": 1106, "ext": "scrbl", "max_stars_repo_path": "scribblings/drracket-cmdline-args.scrbl", "max_stars_repo_name": "sorawee/drracket-cmdline-args", "max_stars_repo_stars_event_min_datetime": "2020-07-29T17:48:58.000Z", "max_stars_repo_stars_event_max_datetime": "2020-08-18T19:10:49.000Z", "max_issues_repo_path": "scribblings/drracket-cmdline-args.scrbl", "max_issues_repo_name": "sorawee/drracket-cmdline-args", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "scribblings/drracket-cmdline-args.scrbl", "max_forks_repo_name": "sorawee/drracket-cmdline-args", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 39.5, "max_line_length": 79, "alphanum_fraction": 0.7866184448}
#lang scribble/manual
@require[@for-label[racket/base]
        racket/runtime-path]

@title{drracket-cmdline-args: Accessible Command-Line Arguments for DrRacket}
@author[@author+email["Sorawee Porncharoenwase" "sorawee.pwase@gmail.com"]]

This DrRacket plugin adds a text field to DrRacket
for inputting command-line arguments.
The command-line arguments then will be available via the parameter
@racket[current-command-line-arguments].

Note that it requires users to run a program for a change to take its effect in
the interactions window.

The current limitation of this plugin is that it only works with @hash-lang[]
languages. It will not work with HtDP languages, for example.
The background color of the text field will turn yellow to warn that
the command-line arguments have no effect in this case.

When there is a syntax error (unterminated quote or escape code),
the background color of the text field will turn red, and
@racket[current-command-line-arguments] will be set to @racket[#()].

@(define-runtime-path screenshot "screenshot.png")

@image[screenshot]{The screenshot of the plugin}
